feat: change app exit key from q to Ctrl+Q#328
Merged
Conversation
Disable bare `q` as quit/back key to prevent accidental exits. Ctrl+Q is now the primary quit key, Ctrl+C remains as standard terminal fallback. Esc is the sole go-back key. Add :q/:quit commands for k9s parity. Closes #325 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
72c726d to
dff549b
Compare
Provides a single source of truth for canonical key names so that extension repos (e.g. swarmcli-be) can reference the contract rather than tracking raw string literals across repo boundaries. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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.
Summary
qas quit/back key to prevent accidental exits from root viewCtrl+Qis the primary quit key (shown in helpbar),Ctrl+Cremains as standard terminal fallbackEscis now the sole go-back key across all views:q/:quitcommands for k9s parityCloses #325
Test plan
qdoes nothing on any view (root and nested)Ctrl+Qexits from root (stacks) viewCtrl+Qexits from nested view (e.g. services → logs)Ctrl+Cexits from any viewEscgoes back from nested views, does nothing at root:qand:quitcommands exit the appqin search/filter input works normally<ctrl+q> quitglobally<esc> back/close?help pages show updated keysgo test ./...passesgolangci-lint run ./...passes🤖 Generated with Claude Code