all repos — xyw @ ee2dec819ec31f6f371966de2630a0a248def377

A minimal virtual machine and assembler for terminals.

Fixes.
h3rald h3rald@h3rald.com
Sat, 31 Jan 2026 15:06:06 +0100
commit

ee2dec819ec31f6f371966de2630a0a248def377

parent

dd518a91dc8322c8b5cdf75f4ff9de52b2154fe2

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M devices/terminal.cdevices/terminal.c

@@ -12,12 +12,14 @@ (void)error;

switch (addr) { case TERMINAL_INPUT: + { xyw_word vector = XYW_PEEKW(&data[TERMINAL_ON_KEYPRESS]); if (vector) { xyw_eval(vector); } break; + } case TERMINAL_OUTPUT: fputc(data[addr], stdout); fflush(stdout);