mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Rewrite the readline redraw code to make the screen lines explicit
This commit is contained in:
@@ -244,6 +244,14 @@ func (self *Loop) EndBracketedPaste() {
|
||||
self.QueueWriteString(BRACKETED_PASTE.EscapeCodeToReset())
|
||||
}
|
||||
|
||||
func (self *Loop) AllowLineWrapping(allow bool) {
|
||||
if allow {
|
||||
self.QueueWriteString(DECAWM.EscapeCodeToSet())
|
||||
} else {
|
||||
self.QueueWriteString(DECAWM.EscapeCodeToReset())
|
||||
}
|
||||
}
|
||||
|
||||
func (self *Loop) Quit(exit_code int) {
|
||||
self.exit_code = exit_code
|
||||
self.keep_going = false
|
||||
|
||||
Reference in New Issue
Block a user