mirror of
https://github.com/felixangell/phi.git
synced 2024-08-16 19:20:21 +03:00
escape key doesnt trigger buffer input
This commit is contained in:
parent
e585c6044a
commit
bd8bf44da6
@ -553,6 +553,9 @@ func (b *Buffer) processActionKey(key int) bool {
|
||||
case sdl.K_CAPSLOCK:
|
||||
CAPS_LOCK = !CAPS_LOCK
|
||||
|
||||
case sdl.K_ESCAPE:
|
||||
return true
|
||||
|
||||
case sdl.K_RETURN:
|
||||
if SUPER_DOWN {
|
||||
// in sublime this goes
|
||||
|
@ -140,7 +140,7 @@ func (n *View) OnUpdate() bool {
|
||||
return action.proc(n, []string{})
|
||||
}
|
||||
} else {
|
||||
log.Println("warning, unimplemented shortcut ctrl +", string(unicode.ToLower(r)), actionName)
|
||||
log.Println("warning, unimplemented shortcut ctrl +", string(unicode.ToLower(r)), " #", int(r), actionName)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user