feat(cli): disable ctrl-s shortcut outside of alternate buffer mode (#18887)

This commit is contained in:
Jacob Richman
2026-02-12 15:00:13 -08:00
committed by GitHub
parent 44bcba323f
commit 55ec0f043c
4 changed files with 39 additions and 33 deletions

View File

@@ -344,11 +344,12 @@ describe('keyMatchers', () => {
},
{
command: Command.SHOW_MORE_LINES,
positive: [
positive: [createKey('o', { ctrl: true })],
negative: [
createKey('s', { ctrl: true }),
createKey('o', { ctrl: true }),
createKey('s'),
createKey('l', { ctrl: true }),
],
negative: [createKey('s'), createKey('l', { ctrl: true })],
},
// Shell commands