From c76ef8216fb540156d7c2f3fed1150a94df03ae5 Mon Sep 17 00:00:00 2001 From: Liam Galvin Date: Tue, 3 Jul 2018 17:43:14 +0100 Subject: [PATCH] fix 00 SGR --- terminal/escapes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal/escapes.go b/terminal/escapes.go index 5779b2b..7cac613 100644 --- a/terminal/escapes.go +++ b/terminal/escapes.go @@ -256,7 +256,7 @@ func (terminal *Terminal) processInput(buffer chan rune) { for i := range params { param := params[i] switch param { - case "0", "": + case "00", "0", "": terminal.cellAttr = terminal.defaultCellAttr case "1", "01": terminal.cellAttr.Bold = true