« get me outta code hell

don't include ANSI escape codes in measureColumns - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-07-15 22:08:34 -0300
committerFlorrie <towerofnix@gmail.com>2020-07-15 22:08:34 -0300
commit3bd328e68894a7819aa26e2325d7984eaa3959e0 (patch)
tree43202cd7a0cbaa3d94a2116622f951a7a37b820a /index.js
parentbe0919ac31b1048248941ed0c290c03824732297 (diff)
don't include ANSI escape codes in measureColumns
This allows pretty much any code based around measureColumns
(e.g. buttons, labels, word-wrapping code) to handle ANSI-formatted
text without any miscalculated measurements.
Diffstat (limited to 'index.js')
0 files changed, 0 insertions, 0 deletions