aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-29 06:43:14 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-29 06:43:14 -0400
commitec0c4b5448d3d5ce4ffe58a9f853f6494f7ba0d1 (patch)
treedf8e526f0de066b58a452460b7453562ad976979
parent312837a5a4e26e65cca738f44bd3c14e3c203b1e (diff)
downloadbw-atari8-tools-ec0c4b5448d3d5ce4ffe58a9f853f6494f7ba0d1.tar.gz
a8cat: move comment.
-rw-r--r--a8cat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/a8cat.c b/a8cat.c
index 148b9ce..e4a88bb 100644
--- a/a8cat.c
+++ b/a8cat.c
@@ -11,6 +11,9 @@
const char **table = ata2utf;
+/* XXX: hard-coded ANSI/vt100 escape sequences. would be
+ better but more complex to use terminfo to support any ol'
+ terminal... */
const char *inverse_on = "\x1b[7m";
const char *inverse_off = "\x1b[0m";
@@ -119,9 +122,6 @@ int a8revcat(const char *file) {
return 0;
}
-/* XXX: hard-coded ANSI/vt100 escape sequences. would be
- better but more complex to use terminfo to support any ol'
- terminal... */
void inverse(int onoff) {
fputs((onoff ? inverse_on : inverse_off ), stdout);
}