mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
...
This commit is contained in:
@@ -331,6 +331,7 @@ func (self *Loop) Run() (err error) {
|
|||||||
os.Stderr.WriteString("\x1b]\x1b\\\x1bc\x1b[H\x1b[2J") // reset terminal
|
os.Stderr.WriteString("\x1b]\x1b\\\x1bc\x1b[H\x1b[2J") // reset terminal
|
||||||
}
|
}
|
||||||
os.Stderr.WriteString(text)
|
os.Stderr.WriteString(text)
|
||||||
|
os.Stderr.WriteString("\n")
|
||||||
if is_terminal {
|
if is_terminal {
|
||||||
if term, err := tty.OpenControllingTerm(tty.SetRaw); err == nil {
|
if term, err := tty.OpenControllingTerm(tty.SetRaw); err == nil {
|
||||||
defer term.RestoreAndClose()
|
defer term.RestoreAndClose()
|
||||||
|
|||||||
Reference in New Issue
Block a user