This commit is contained in:
Luxferre
2026-08-09 13:39:28 +03:00
parent c0d7573d70
commit 88dd9dfef5
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ MicroBantam (`mb`) is a compressed Perl 5 reference implementation of the same a
- `bantam.py` — Python reference implementation (stdlib only) - `bantam.py` — Python reference implementation (stdlib only)
- `main.go`, `term_linux.go`, `term_darwin.go`, `term_windows.go`, `term_other.go` — Go implementation (stdlib only, module `code.luxferre.top/luxferre/bantam`) - `main.go`, `term_linux.go`, `term_darwin.go`, `term_windows.go`, `term_other.go` — Go implementation (stdlib only, module `code.luxferre.top/luxferre/bantam`)
- `bantam.pl` — Perl 5 implementation (core modules only) - `bantam.pl` — Perl 5 implementation (core modules only)
- `mb` — MicroBantam, compressed Perl 5 implementation (core modules only, 92 SLOC) - `mb` — MicroBantam, compressed Perl 5 implementation (core modules only, under 100 SLOC)
- `model.cfg`, `system.txt` — shared configuration and system prompt - `model.cfg`, `system.txt` — shared configuration and system prompt
- `README.md` — this document - `README.md` — this document
+1 -5
View File
@@ -10,11 +10,7 @@ $SIG{__WARN__} = sub {
warn $m; warn $m;
}; };
# Make STDOUT/STDERR UTF-8 aware so decoded Unicode (model output, tool binmode(STDOUT, ':encoding(UTF-8)');binmode(STDERR, ':encoding(UTF-8)');binmode(STDIN, ':encoding(UTF-8)');
# results) prints cleanly instead of triggering "Wide character in print"
binmode(STDOUT, ':encoding(UTF-8)');
binmode(STDERR, ':encoding(UTF-8)');
binmode(STDIN, ':encoding(UTF-8)');
$| = 1; # unbuffered output: live spinner, responsive prompt $| = 1; # unbuffered output: live spinner, responsive prompt