diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-18 01:31:58 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-18 01:31:58 +0200 |
| commit | fe79552d9fcfd60d8c2bb828c6b93cf471ef7b75 (patch) | |
| tree | 7bf842857ce4f485101848292405a96f322fe374 /terminal/vt52.c | |
| parent | db22b587966b4a4eaa47536f32ca812532446bcb (diff) | |
fifo interface
Diffstat (limited to 'terminal/vt52.c')
| -rw-r--r-- | terminal/vt52.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal/vt52.c b/terminal/vt52.c index 3fa4137..66fd5f1 100644 --- a/terminal/vt52.c +++ b/terminal/vt52.c @@ -87,7 +87,7 @@ void vt52_kb(vt52_tty *tty, uint8_t c) tty->input->put_char(c); } // send one ASCII character to the terminal -void vt52_put(vt52_tty *tty, uint8_t c) +bool vt52_put(vt52_tty *tty, uint8_t c) { if(c==VT52_ESC_1){escaping=1;return;} if(c==VT52_ESC_2){if(escaping==1)escaping=2;return;} @@ -192,5 +192,6 @@ void vt52_put(vt52_tty *tty, uint8_t c) } tty->screen->update_cursor(tty->x,tty->y); + return true; } |
