mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 01:47:51 +08:00
parent
85e9678911
commit
d674cedcac
|
@ -374,7 +374,10 @@ MainLoop:
|
|||
switch sig {
|
||||
case syscall.SIGINT:
|
||||
// Start over
|
||||
ed.editorState = editorState{savedTermios: ed.savedTermios}
|
||||
ed.editorState = editorState{
|
||||
savedTermios: ed.savedTermios,
|
||||
isExternal: ed.isExternal,
|
||||
}
|
||||
goto MainLoop
|
||||
case syscall.SIGWINCH:
|
||||
continue MainLoop
|
||||
|
|
Loading…
Reference in New Issue
Block a user