all repos — xyw @ 5cc4d53dd77f95763b1dc9a5e3382024acc94c71

A minimal virtual machine and assembler for terminals.

Fixes for terminal reset.
h3rald h3rald@h3rald.com
Tue, 28 Jul 2026 11:43:24 +0000
commit

5cc4d53dd77f95763b1dc9a5e3382024acc94c71

parent

169554aaf19b03543691d23092dd209fefb53d08

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

jump to
M MakefileMakefile

@@ -53,6 +53,10 @@ $(CC) $(CFLAGS) -c devices/beeper.c -o devices/beeper.o

test: ./test.sh +ifeq ($(OS),Windows_NT) +else + @stty sane +endif clean: rm -f xyw xyw.exe $(OBJS)
M test.shtest.sh

@@ -99,7 +99,8 @@

need_file "$EXAMPLES_DIR/$img_basename" local run_log="$TMPDIR/run.${img_basename}.log" - if ! (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]}" </dev/null >"$out_file" 2>"$run_log"); then + #if ! (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]}" </dev/null >"$out_file" 2>"$run_log"); then + if ! (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]}" >"$out_file" 2>"$run_log"); then dump_file_if_exists "Runtime stderr" "$run_log" dump_file_if_exists "Runtime stdout" "$out_file" fail "Execution failed for $img_basename"