From ec0c4b5448d3d5ce4ffe58a9f853f6494f7ba0d1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Jun 2024 06:43:14 -0400 Subject: a8cat: move comment. --- a8cat.c | 6 +++--- 1 file 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); } -- cgit v1.2.3