diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-17 01:45:09 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-17 01:45:09 -0400 |
commit | 133e953589904d8fa81f291dc15ab73b925d1914 (patch) | |
tree | 6027a9ac3248aa5d70cbfb59b4131d3a34ce8677 | |
parent | c5287db3cd6f8e1b9239e27ebecf53a34dd41516 (diff) | |
download | bw-atari8-tools-133e953589904d8fa81f291dc15ab73b925d1914.tar.gz |
listbas: quit emitting ANSI color codes in ATASCII output (derp!), print ERROR- the same way BASIC does.
-rw-r--r-- | listbas.c | 2 | ||||
-rw-r--r-- | tokens.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -170,7 +170,7 @@ void parse_args(int argc, char **argv, int from_env) { while( (opt = getopt(argc, argv, "Db:UCviamnBdhxulc:")) != -1) { switch(opt) { case 'U': output_mode = M_UTF8; break; - case 'a': output_mode = M_ATASCII; break; + case 'a': output_mode = M_ATASCII; color = 0; break; case 'm': output_mode = M_MAG; break; case 'd': output_mode = M_DOTS; break; case 'x': output_mode = M_UTF8_I; break; @@ -54,7 +54,7 @@ const char *commands[] = { "CSAVE", /* $34 */ "CLOAD", "", /* $36, implied LET */ - "ERROR -" /* $37 */ + "ERROR- " /* $37 */ }; const unsigned short last_command = (sizeof(commands) / sizeof(char *)) - 1; |