« get me outta code hell

Better ANSI-interpret debug messages - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/util/ansi.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-05-30 10:22:30 -0300
committerFlorrie <towerofnix@gmail.com>2018-05-30 10:22:32 -0300
commit581c8db27bc25c74b02a1b29d795c847118c6234 (patch)
tree8596b34ce05cc8f8ad6715bb88ad7e47f339f6ba /util/ansi.js
parent7192b51deac9df93bc9a43ec7765b8a5a8eddc82 (diff)
Better ANSI-interpret debug messages
* Show the number of KB saved
* Make the percent-saved a little more precise
* Don't update the debug message if absolutely nothing changed on the
  screen (although, it's still saving however much data it would have
  taken to render the entire screen!!)
* Just draw a bar across the whole screen, instead of a few extra "   "
  characters - technically this adds a whole bunch of data itself but
  it's assumed that you aren't on limited data if you're debugging how
  much data the interpreter saves
Diffstat (limited to 'util/ansi.js')
0 files changed, 0 insertions, 0 deletions