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(); |