mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Set window title when showing errors
This commit is contained in:
@@ -42,6 +42,7 @@ func main(args []string, opts *Options) (rc int, err error) {
|
||||
f := markup.New(true)
|
||||
if opts.Title != "" {
|
||||
fmt.Println(f.Err(opts.Title))
|
||||
fmt.Println(loop.EscapeCodeToSetWindowTitle(opts.Title))
|
||||
fmt.Println()
|
||||
}
|
||||
fmt.Println(m.Msg)
|
||||
|
||||
Reference in New Issue
Block a user