mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-27 11:47:46 -07:00
feat: Implement background shell commands (#14849)
This commit is contained in:
@@ -59,8 +59,12 @@ describe('keyMatchers', () => {
|
||||
},
|
||||
{
|
||||
command: Command.MOVE_LEFT,
|
||||
positive: [createKey('left'), createKey('b', { ctrl: true })],
|
||||
negative: [createKey('left', { ctrl: true }), createKey('b')],
|
||||
positive: [createKey('left')],
|
||||
negative: [
|
||||
createKey('left', { ctrl: true }),
|
||||
createKey('b'),
|
||||
createKey('b', { ctrl: true }),
|
||||
],
|
||||
},
|
||||
{
|
||||
command: Command.MOVE_RIGHT,
|
||||
@@ -285,7 +289,10 @@ describe('keyMatchers', () => {
|
||||
{
|
||||
command: Command.SHOW_ERROR_DETAILS,
|
||||
positive: [createKey('f12')],
|
||||
negative: [createKey('o', { ctrl: true }), createKey('f11')],
|
||||
negative: [
|
||||
createKey('o', { ctrl: true }),
|
||||
createKey('b', { ctrl: true }),
|
||||
],
|
||||
},
|
||||
{
|
||||
command: Command.SHOW_FULL_TODOS,
|
||||
@@ -357,6 +364,16 @@ describe('keyMatchers', () => {
|
||||
positive: [createKey('tab', { shift: true })],
|
||||
negative: [createKey('tab')],
|
||||
},
|
||||
{
|
||||
command: Command.TOGGLE_BACKGROUND_SHELL,
|
||||
positive: [createKey('b', { ctrl: true })],
|
||||
negative: [createKey('f10'), createKey('b')],
|
||||
},
|
||||
{
|
||||
command: Command.TOGGLE_BACKGROUND_SHELL_LIST,
|
||||
positive: [createKey('l', { ctrl: true })],
|
||||
negative: [createKey('l')],
|
||||
},
|
||||
];
|
||||
|
||||
describe('Data-driven key binding matches original logic', () => {
|
||||
|
||||
Reference in New Issue
Block a user