mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
refactor key bindings
This commit is contained in:
@@ -8,6 +8,10 @@ export class Logs {
|
||||
this.ui = ui
|
||||
this.el.addEventListener('keydown', (e) => {
|
||||
|
||||
if(e.key == 'Escape') {
|
||||
this.ui.editor.focus()
|
||||
}
|
||||
|
||||
if(e.key == 'Enter') {
|
||||
// TODO reselect call node that was selected previously by calling
|
||||
// 'calltree.navigate_logs_position'
|
||||
|
||||
Reference in New Issue
Block a user