mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
kitty shell: Fix pressing enter while cursor is not at end of line causes line to be truncated visually
This commit is contained in:
@@ -61,6 +61,8 @@ func shell_loop(rl *readline.Readline, kill_if_signaled bool) (int, error) {
|
||||
rl.Redraw()
|
||||
return nil
|
||||
}
|
||||
rl.MoveCursorToEnd()
|
||||
rl.Redraw()
|
||||
lp.ClearToEndOfScreen()
|
||||
return ErrExec
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user