Niels Widger
e27f247a3e
Support zero parameteter 'CSI n m' in parseOne
...
According to https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes ,
a zero-parameter 'CSI n m' code (for setting SGR parameters) should be
treated as the same as 'CSI 0 m'. This PR changes
escapeInterpreter.parseOne to support this shorthand.
2017-02-12 14:56:43 +01:00
Roi Martin
1ad1e27a52
Minor fixes in escapeInterpreter
2016-11-14 21:50:15 +01:00
Roi Martin
56a1633c76
Minor style changes
2016-11-13 20:45:04 +01:00
Dustin Willis Webber
ff841413b6
256 OutputMode support
2016-11-13 14:06:04 -05:00
Roi Martin
d822523f8c
Make golint happy. Fix typo.
2016-10-11 08:52:03 +02:00
Roi Martin
2e62b6ba19
Respect view's default background and foreground colors
...
Fix issue #58
2016-10-03 19:38:40 +02:00
Roi Martin
132f267b70
Fix minor typo
2016-05-23 00:21:03 +02:00
Roi Martin
1b35b7cd26
escape: remove unnecessary type interpreterReturn
2016-05-23 00:16:59 +02:00
Roi Martin
40dec91023
Initial support for colored text
...
- View contents are stored as cells (rune + colors) instead of runes.
- Uses the escape interpreter coded by @deweerdt in #39 .
2016-05-23 00:16:59 +02:00