diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 19:06:35 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 19:06:35 +0200 |
commit | 478c691187fbc9ba4ccaacf92f57828eef20041c (patch) | |
tree | 4cb4b00d7da1fd533cebc347f3641cc0455935f5 /src/kernel/ui/vt.h | |
parent | 7e6454020ed1143e05e83a683606f318995458e5 (diff) | |
download | TCE-478c691187fbc9ba4ccaacf92f57828eef20041c.tar.gz TCE-478c691187fbc9ba4ccaacf92f57828eef20041c.zip |
Simple shell added. Simple fprintf function added too.
Diffstat (limited to 'src/kernel/ui/vt.h')
-rw-r--r-- | src/kernel/ui/vt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ui/vt.h b/src/kernel/ui/vt.h index b26e95a..a80452b 100644 --- a/src/kernel/ui/vt.h +++ b/src/kernel/ui/vt.h @@ -45,7 +45,7 @@ class vt : public node { void outputTo(display *display); - void keyboardInput(keypress kp); + void keyboardInput(keypress kp, keyboard* from); virtual int write(size_t offset, size_t len, char* buffer); virtual int read(size_t offset, size_t len, char* buffer); // get keyboard input @@ -53,7 +53,7 @@ class vt : public node { virtual int link(node* to, int mode); }; -extern vt *ke_vt; +extern vt *ke_vt, *home_vt; #define NL ke_vt->writeStr("\n"); #define TAB ke_vt->writeStr("\t"); #define WHERE { ke_vt->writeStr("(ke:"); \ |