mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 12:34:44 +02:00
Fix a regression caused by rewrite of kittens to Go that made various kittens reset colors in a terminal when the colors were changed by escape code
Fixes #6708
This commit is contained in:
@@ -162,9 +162,9 @@ func (self *TerminalStateOptions) ResetStateEscapeCodes() string {
|
||||
}
|
||||
sb.WriteString(RESTORE_PRIVATE_MODE_VALUES)
|
||||
if self.restore_colors {
|
||||
sb.WriteString(RESTORE_CURSOR)
|
||||
sb.WriteString(RESTORE_COLORS)
|
||||
}
|
||||
sb.WriteString(RESTORE_COLORS)
|
||||
sb.WriteString(RESTORE_CURSOR)
|
||||
return sb.String()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user