V0.6.0 #6
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
codetease/mep!6
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/new-prompt-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New prompt types
In these first three prompt types:
FormPromptfor multi-field input with validation and proper navigation (Tab/Shift+Tab).SnippetPromptfor template filling with variable constraints and navigation.ListPromptwith tag wrapping, improved backspace behavior (pop to buffer), and dual-state Enter logic.MepCLIfacade.README.mdandexample.tswith documentation and demos.src/types.ts.In this commit:
CodePromptfor multiline code editing with syntax highlighting.MaskedPromptfor fixed-pattern input (e.g., phone numbers).TreeSelectPromptfor hierarchical multi-selection with cascading checkboxes.highlightJsonutility insrc/highlight.ts. (experimental)MepCLIfacade insrc/core.ts.src/types.ts.In this commit:
Range Prompt:
Transfer Prompt:
In this commit:
In this commit:
CalendarPromptfor date/range selection with a visual grid.GridPromptfor 2D boolean matrix selection.ColorPromptfor RGB color selection with ANSI TrueColor preview.MepCLIstatic methods.types.tswith new option interfaces.In this commit:
handleMouseinGridPromptfor vertical scrolling (row navigation).handleMouseinColorPromptfor vertical scrolling (channel switching).In this commit:
shift,ctrl,metamodifier support toMouseEventandInputParser.CalendarPrompt:PageUp/PageDown: Jump by month.Ctrl+Up/Down: Jump by year.Home/End: Jump to first/last day of month.t: Jump to today.GridPrompt:PageUp/PageDown: Jump to first/last row.Home/End: Jump to first/last column.r(row),c(column),a(all),x(none),i(invert).In this commit:
There seems to be a bug with the TreeSelect prompt; I'll check it tomorrow. (Fixed)
In this commit:
_prefix to satisfy@typescript-eslint/no-unused-vars.src/highlight.tsandsrc/prompts/number.tsto satisfyno-useless-escape.src/core.tsandsrc/prompts/text.ts.src/prompts/text.ts.Tree Select prompt seems to still have a bug on PowerShell (Windows Terminal)