feat: close button in the history panel header
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
02d579c8b8
commit
75025c2406
2 files changed
+22
No files matched your search
@@ -2191,6 +2191,12 @@ export default class Composer extends View {
|
||||
pick: (key, cx) => this.panelPickKey(key, cx),
|
||||
toggle: (key, cx) => this.panelToggleKey(key, cx),
|
||||
clear: (cx) => this.panelClear(cx),
|
||||
// The close button: what Esc does - the field gets the keyboard, the
|
||||
// caret and the height of the block back.
|
||||
close: (cx) => {
|
||||
this.closePanel();
|
||||
cx.notify();
|
||||
},
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user