Fix compilation
This commit is contained in:
parent
7c87abe856
commit
75fe9a76db
|
@ -53,11 +53,12 @@ void Client::handle_available_input(EventMode mode)
|
||||||
|
|
||||||
while (m_ui->is_key_available())
|
while (m_ui->is_key_available())
|
||||||
{
|
{
|
||||||
|
Key key = m_ui->get_key();
|
||||||
if (key == ctrl('c'))
|
if (key == ctrl('c'))
|
||||||
killpg(getpgrp(), SIGINT);
|
killpg(getpgrp(), SIGINT);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_input_handler.handle_key(m_ui->get_key());
|
m_input_handler.handle_key(key);
|
||||||
m_input_handler.clear_mode_trash();
|
m_input_handler.clear_mode_trash();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user