summaryrefslogtreecommitdiff
path: root/terminal/vt52.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-18 01:31:58 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-18 01:31:58 +0200
commitfe79552d9fcfd60d8c2bb828c6b93cf471ef7b75 (patch)
tree7bf842857ce4f485101848292405a96f322fe374 /terminal/vt52.c
parentdb22b587966b4a4eaa47536f32ca812532446bcb (diff)
fifo interface
Diffstat (limited to 'terminal/vt52.c')
-rw-r--r--terminal/vt52.c3
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;
}