Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-02 19:18:44 +0000
committerStijn Buys <ingar@osirion.org>2008-07-02 19:18:44 +0000
commit89de2efebc22b3754c18ede10dc07bfc397fc2d0 (patch)
tree1d005c4b0ad66333235ecfbea03089bb31015b48 /src/sys
parentfd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (diff)
initial server ncurses console
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/consoleinterface.cc4
-rw-r--r--src/sys/consoleinterface.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/sys/consoleinterface.cc b/src/sys/consoleinterface.cc
index eaecdea..8b734ff 100644
--- a/src/sys/consoleinterface.cc
+++ b/src/sys/consoleinterface.cc
@@ -81,6 +81,10 @@ void ConsoleInterface::flush()
consoleinterface_buffer.clear();
}
+void ConsoleInterface::resize()
+{
+}
+
void ConsoleInterface::print_ansi(const char *line)
{
if (consoleinterface_ansi)
diff --git a/src/sys/consoleinterface.h b/src/sys/consoleinterface.h
index f874182..6475676 100644
--- a/src/sys/consoleinterface.h
+++ b/src/sys/consoleinterface.h
@@ -57,6 +57,9 @@ public:
/// flush buffered messages
virtual void flush();
+ /// resize the console (ncurses stub)
+ virtual void resize();
+
/// turn ANSI color codes on or off
inline void set_ansi(bool ansi) { consoleinterface_ansi = ansi; }