mirror of
https://github.com/yudai/gotty.git
synced 2025-09-22 05:50:48 +02:00
Treat ping messages properly not to lose window title
Thanks to @rgawenda at #65.
This commit is contained in:
parent
6edf5b450f
commit
6af36bc6d9
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@
|
||||||
break;
|
break;
|
||||||
case '1':
|
case '1':
|
||||||
// pong
|
// pong
|
||||||
|
break;
|
||||||
case '2':
|
case '2':
|
||||||
term.setWindowTitle(data);
|
term.setWindowTitle(data);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue