status: optimize filtering when chars are being taken from input queue

This commit is contained in:
Andrzej Rybczak
2012-09-05 22:20:50 +02:00
parent 39c5087d18
commit 21947d3655
5 changed files with 35 additions and 11 deletions

View File

@@ -340,6 +340,9 @@ struct Window
/// Push single character into input queue, so it can get consumed by ReadKey
void pushChar(int ch);
/// @return const reference to internal input queue
const std::queue<int> &inputQueue() { return m_input_queue; }
/// Scrolls the window by amount of lines given in its parameter
/// @param where indicates how many lines it has to scroll
virtual void scroll(Where where);