Initial terminal emulation sketch

This commit is contained in:
Keith Winstein
2011-01-18 03:18:21 -05:00
parent 725b9889e0
commit ae3fc72e82
4 changed files with 33 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef TERMINAL_CPP
#define TERMINAL_CPP
#include <wchar.h>
#include "parser.hpp"
namespace Terminal {
class Terminal {
private:
Parser::UTF8Parser parser;
wchar_t *framebuffer;
size_t width, height;
size_t cursor_col, cursor_row;
public:
Terminal();
~Terminal();
Terminal( const Terminal & );
Terminal &operator=( const Terminal & );
};
}
#endif