feat(tui): add agent picker and agents list rpc
This commit is contained in:
@@ -4,6 +4,7 @@ export class CustomEditor extends Editor {
|
||||
onEscape?: () => void;
|
||||
onCtrlC?: () => void;
|
||||
onCtrlD?: () => void;
|
||||
onCtrlG?: () => void;
|
||||
onCtrlL?: () => void;
|
||||
onCtrlO?: () => void;
|
||||
onCtrlP?: () => void;
|
||||
@@ -28,6 +29,10 @@ export class CustomEditor extends Editor {
|
||||
this.onCtrlP();
|
||||
return;
|
||||
}
|
||||
if (matchesKey(data, Key.ctrl("g")) && this.onCtrlG) {
|
||||
this.onCtrlG();
|
||||
return;
|
||||
}
|
||||
if (matchesKey(data, Key.ctrl("t")) && this.onCtrlT) {
|
||||
this.onCtrlT();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user