Expand whitespace and draw control characters to spaces
commit6c6d2d2d7e64c187d23da4175a10c439346a282d
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 23 Apr 2016 21:05:21 +0000 (23 17:05 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 23 Apr 2016 21:05:21 +0000 (23 17:05 -0400)
tree93100c162aadbad837301e196db317ed51815837
parentd3ea0a5a7bb0d6eb6abc2acedc2204fc626dbbcd
Expand whitespace and draw control characters to spaces

Tabs are already expanded to one or more spaces before rendered,
similarly any other whitespace (e.g. \r) as well as control characters
are now converted to spaces before drawn on the screen.

Fixes #485
NEWS.adoc
src/string.c
test/main/escape-control-characters-test [new file with mode: 0755]
test/main/escape-control-characters-test.in [new file with mode: 0644]