mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-30 10:13:23 +00:00
feat: add ctrl _ to undo
This commit is contained in:
parent
e044aeb5ed
commit
e5c9b85008
@ -416,6 +416,10 @@ func (rl *Instance) Readline() (string, error) {
|
||||
rl.renderHelpers()
|
||||
}
|
||||
|
||||
case charCtrlUnderscore:
|
||||
rl.undoLast()
|
||||
rl.viUndoSkipAppend = true
|
||||
|
||||
case '\r':
|
||||
fallthrough
|
||||
case '\n':
|
||||
|
Loading…
x
Reference in New Issue
Block a user