Fix: Add ESC key handling to listBox in ServicePickerModal
This commit is contained in:
parent
d04b1276af
commit
0dededa452
1 changed files with 5 additions and 0 deletions
|
|
@ -205,6 +205,11 @@ export class ServicePickerModal {
|
|||
this.handleSelect()
|
||||
})
|
||||
|
||||
// ESC in list - close modal
|
||||
this.listBox.key(['escape', 'q'], () => {
|
||||
this.hide()
|
||||
})
|
||||
|
||||
// Back to search
|
||||
this.listBox.key(['/', 'i'], () => {
|
||||
this.searchBox.focus()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue