mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
term: fix set_terminal_title on nix
This commit is contained in:
parent
fd07f7df69
commit
7c571c0945
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user