1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 20:06:45 +02:00

change keys toctrl-o and p due to weird bug with ctrl-[

This commit is contained in:
Jfreegman
2013-12-06 22:03:35 -05:00
parent d232538317
commit e224f92210
4 changed files with 5 additions and 5 deletions

View File

@ -215,7 +215,7 @@ void del_window(ToxWindow *w)
}
/* Shows next window when tab or back-tab is pressed */
void set_next_window(int ch)
void set_next_window(wint_t ch)
{
ToxWindow *end = windows + MAX_WINDOWS_NUM - 1;
ToxWindow *inf = active_window;
@ -349,7 +349,7 @@ void draw_active_window(Tox *m)
#endif
if (ch == '\t' || ch == KEY_BTAB || ch == T_KEY_NEXT || ch == T_KEY_PREV)
set_next_window((int) ch);
set_next_window(ch);
else if (ch != ERR)
a->onKey(a, m, ch);
}