Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-06 18:18:30 +0000
committerStijn Buys <ingar@osirion.org>2008-10-06 18:18:30 +0000
commit094221dae7b094bf0d61128634a00d52b265b0d5 (patch)
tree666f7f3708b273e8254269a77460fa62f5a76a1d /src/server/console.h
parente8b466caefa3b0b3b70458035d1c52e9fd9c0662 (diff)
pgup pgdn scrolling for the ncurses server console
Diffstat (limited to 'src/server/console.h')
-rw-r--r--src/server/console.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/console.h b/src/server/console.h
index 9cfe604..bf77ecd 100644
--- a/src/server/console.h
+++ b/src/server/console.h
@@ -25,6 +25,7 @@ public:
virtual void resize();
/// run one console frame
void frame(float seconds);
+
protected:
/// draw the ncurses console
void draw();
@@ -50,7 +51,7 @@ private:
std::deque<std::string>::reverse_iterator history_pos;
size_t input_pos;
-
+ size_t console_scroll;
#endif
};