Repository navigation
Pickers and prompts show their keys on buttons, F1 lists the rest, and the arrows choose - #596
Merged
Merged
Conversation
…Dialog Open recent folder, Definitions of, Choose grammar, Go to line and the language server dialog are now MentalDesk.Tui dialogs: their keys are on buttons, the hint rows are gone, and F1 opens Help with the dialog's keys. HostedDialog hosts any AppDialog on the scope stack and answers its F1 with a KeysDialog, putting the caret back where it was when Help closes. The three OptionSelectors call SelectOnArrows(), so the arrows choose and one Tab leaves. TuiCode's own filtering, hint text and per-dialog command ids for these dialogs are deleted. Closes #572 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open recent folder, Definitions of, Choose grammar, Go to line and the language server dialog now show their keys on buttons (
Enter Open/Enter Go to/Enter Choose/Ctrl+Enter Save, andEsc Cancel). They no longer have hint rows.F1in any of them opens Help titled with the dialog, listing its keys, andEscgoes back with the filter, caret and selected row as they were. The pickers say a dimmedType to filter, and with no match they show(no matches)and dim the pick button. In Submit review's verdict, Editor settings' line endings and the language server choice, the arrows choose directly, and oneTableaves.Closes #572
Worth knowing
ListFilter: CamelHumps, then substring), so a picker matches at least the rows it did before. Matches are now ranked by score rather than kept in list order. Choose grammar still opens on the current grammar.Escstill clears a non-empty filter before it cancels, and the Cancel button does the same.Line out of range) is now the library's alert block, under the buttons, where the library puts it.HostedConfirmkeeps its own hosting for now, so confirms still have noF1sheet. Moving it ontoHostedDialogwould give them one, but that's a new key and out of scope here.🤖 Generated with Claude Code
a-team try tuicode 596