aboutsummaryrefslogtreecommitdiff
path: root/a8cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'a8cat.c')
-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);
}