Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/console.h')
-rw-r--r--src/server/console.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/console.h b/src/server/console.h
index 59d65d9..13db3fc 100644
--- a/src/server/console.h
+++ b/src/server/console.h
@@ -25,7 +25,7 @@ public:
/// resize the console
virtual void resize();
/// run one console frame
- void frame(float seconds);
+ void frame();
protected:
/// draw the ncurses console
@@ -44,12 +44,14 @@ protected:
virtual void print(const std::string & text);
private:
+ typedef std::deque<std::string> History;
+
/// set ncurses drawing color
void set_color(const char *color_code);
// input history
- Text history;
- Text::reverse_iterator history_pos;
+ History history;
+ History::reverse_iterator history_pos;
size_t input_pos;
size_t console_scroll;