mirror of https://github.com/liamg/aminal.git
CellAttributes bold/dim are mutually exclusive, so 'CSI 1 m' should turn off dim, and 'CSI 2 m' should turn off bold
This commit is contained in:
parent
955ebceacd
commit
a4b5ae3acb
|
@ -911,7 +911,9 @@ func (t *Terminal) sgrSequenceHandler(params []string) bool {
|
|||
*attr = CellAttributes{}
|
||||
case "1", "01":
|
||||
t.GetActiveBuffer().getCursorAttr().bold = true
|
||||
t.GetActiveBuffer().getCursorAttr().dim = false
|
||||
case "2", "02":
|
||||
t.GetActiveBuffer().getCursorAttr().bold = false
|
||||
t.GetActiveBuffer().getCursorAttr().dim = true
|
||||
case "3", "03":
|
||||
t.GetActiveBuffer().getCursorAttr().italic = true
|
||||
|
|
Loading…
Reference in New Issue