From 89de2efebc22b3754c18ede10dc07bfc397fc2d0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 2 Jul 2008 19:18:44 +0000 Subject: initial server ncurses console --- src/sys/consoleinterface.cc | 4 ++++ src/sys/consoleinterface.h | 3 +++ 2 files changed, 7 insertions(+) (limited to 'src/sys') 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; } -- cgit v1.2.3