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:
parent
bd4f7c5567
commit
c33fd4eb47
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user