From 75fe9a76db4bf2670efe3007b2dbc8c3cc9dc47e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 28 Nov 2014 13:47:42 +0000 Subject: [PATCH] Fix compilation --- src/client.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client.cc b/src/client.cc index d4b1dfbc..052ac859 100644 --- a/src/client.cc +++ b/src/client.cc @@ -53,11 +53,12 @@ void Client::handle_available_input(EventMode mode) while (m_ui->is_key_available()) { + Key key = m_ui->get_key(); if (key == ctrl('c')) killpg(getpgrp(), SIGINT); else { - m_input_handler.handle_key(m_ui->get_key()); + m_input_handler.handle_key(key); m_input_handler.clear_mode_trash(); } }