Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/dedicated/console.h')
-rw-r--r--src/dedicated/console.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/dedicated/console.h b/src/dedicated/console.h
index 19ea906..b0bafdb 100644
--- a/src/dedicated/console.h
+++ b/src/dedicated/console.h
@@ -1,7 +1,7 @@
/*
dedicated/console.h
- This file is part of the Osirion project and is distributed under
- the terms of the GNU General Public License version 2
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
*/
#ifndef __INCLUDED_DEDICATED_CONSOLE_H__
@@ -9,9 +9,11 @@
#include "sys/consoleinterface.h"
-namespace dedicated {
+namespace dedicated
+{
-class Console : public sys::ConsoleInterface {
+class Console : public sys::ConsoleInterface
+{
public:
Console();
~Console();
@@ -48,12 +50,12 @@ private:
/// set ncurses drawing color
void set_color(const char *color_code);
-
- // input history
- History history;
- History::reverse_iterator history_pos;
- size_t input_pos;
+ // input history
+ History history;
+ History::reverse_iterator history_pos;
+
+ size_t input_pos;
size_t console_scroll;
int console_width;