Added resize check to ui module
This commit is contained in:
@@ -75,7 +75,8 @@ void ui_contact_online(const char * const from, const char * const show,
|
||||
void ui_contact_offline(const char * const from, const char * const show,
|
||||
const char * const status);
|
||||
void ui_disconnected(void);
|
||||
void ui_handle_special_keys(const wint_t * const ch);
|
||||
void ui_handle_special_keys(const wint_t * const ch, const char * const inp,
|
||||
const int size);
|
||||
void ui_switch_win(const int i);
|
||||
gboolean ui_windows_full(void);
|
||||
unsigned long ui_get_idle_time(void);
|
||||
|
||||
@@ -508,10 +508,15 @@ ui_disconnected(void)
|
||||
}
|
||||
|
||||
void
|
||||
ui_handle_special_keys(const wint_t * const ch)
|
||||
ui_handle_special_keys(const wint_t * const ch, const char * const inp,
|
||||
const int size)
|
||||
{
|
||||
_win_handle_switch(ch);
|
||||
_win_handle_page(ch);
|
||||
if (*ch == KEY_RESIZE) {
|
||||
ui_resize(*ch, inp, size);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user