1
1
mirror of https://github.com/walles/moar.git synced 2024-11-05 04:24:19 +03:00

Add missing SGI code

00 is produced by highlight.
This commit is contained in:
Johan Walles 2019-06-18 20:12:35 +02:00
parent bd4f7c5567
commit c33fd4eb47

View File

@ -106,7 +106,7 @@ func _StyledStringsFromString(logger *log.Logger, s string) []_StyledString {
func _UpdateStyle(logger *log.Logger, style tcell.Style, escapeSequence string) tcell.Style {
for _, number := range strings.Split(escapeSequence[2:len(escapeSequence)-1], ";") {
switch number {
case "", "0":
case "", "0", "00":
style = tcell.StyleDefault
case "1":