Skip to content

Commit

Permalink
term: fix set_terminal_title on nix
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Jan 14, 2023
1 parent fd07f7d commit 7c571c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/term/term_nix.c.v
Expand Up @@ -85,7 +85,7 @@ pub fn set_terminal_title(title string) bool {
if os.is_atty(1) <= 0 || os.getenv('TERM') == 'dumb' {
return true
}
print('\033]0')
print('\033]30;')
print(title)
print('\007')
flush_stdout()
Expand Down

0 comments on commit 7c571c0

Please sign in to comment.