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