sources/interface.cpp

changeset 33
bb209480d0ec
parent 32
ee770597a281
child 34
3caf69e7350b
equal deleted inserted replaced
32:ee770597a281 33:bb209480d0ec
487 FUNCTION 487 FUNCTION
488 Interface::handle_input() -> void 488 Interface::handle_input() -> void
489 { 489 {
490 int ch = ::getch(); 490 int ch = ::getch();
491 491
492 if (ch == KEY_RESIZE)
493 {
494 ::clear();
495 render_full();
496 return;
497 }
498
492 if (g_inputState == INPUTSTATE_CONFIRM_DISCONNECTION) 499 if (g_inputState == INPUTSTATE_CONFIRM_DISCONNECTION)
493 { 500 {
494 if (ch == 'y' or ch == 'Y') 501 if (ch == 'y' or ch == 'Y')
495 { 502 {
496 RCONSession::get_session()->disconnect(); 503 RCONSession::get_session()->disconnect();

mercurial