ascii.js icon indicating copy to clipboard operation
ascii.js copied to clipboard

Possible problem with CUF code

Open haliphax opened this issue 11 years ago • 0 comments

The 'C' (as in \x1b[nC, where n is an integer) code may be flawed, but I'm not entirely certain. Particular ANSI pieces with liberal use of flat background space are sometimes misinterpreted, and what should be black winds up being the last background color used before the 'C' code is invoked. Perhaps I've misconstrued the correct behavior of the code, and it should instead assume no background color will be placed -- only that the cursor will move. See the code.

haliphax avatar Jul 26 '14 03:07 haliphax