Set the terminal title (xterm, gnome-terminal, screen...)
This commit is contained in:
parent
06ee9592e3
commit
f841e5fe16
@ -413,6 +413,11 @@ ready:
|
||||
break;
|
||||
}
|
||||
|
||||
/* Attempt to set terminal title */
|
||||
printf("\033kNyanyanyanyanyanyanya...\033\134");
|
||||
printf("\033]1;Nyanyanyanyanyanyanya...\007");
|
||||
printf("\033]2;Nyanyanyanyanyanyanya...\007");
|
||||
|
||||
/* Clear the screen */
|
||||
printf("\033[H\033[2J\033[?25l");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user