mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 12:46:37 +00:00
Add ^C = Cancel (Quit) to telnet #291
This commit is contained in:
parent
3ad815cd5d
commit
d41d22024f
@ -379,7 +379,7 @@ IRAM_ATTR void telnetLoop()
|
|||||||
while(int16_t key = telnetConsole->readKey()) {
|
while(int16_t key = telnetConsole->readKey()) {
|
||||||
switch(key) {
|
switch(key) {
|
||||||
case 0xf8:
|
case 0xf8:
|
||||||
case KEY_CTRL('C'): // ^C = Cancel (Quit)
|
case KEY_CTRL('C'): // 0x03 = ^C = Cancel (Quit)
|
||||||
telnetClientDisconnect();
|
telnetClientDisconnect();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user