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:
parent
4d230f5035
commit
00dc5a8dc5
2 changed files with 4 additions and 2 deletions
|
|
@ -54,6 +54,8 @@ Detailed list of changes
|
|||
|
||||
- ``kitten @ set-background-opacity`` - add a new ``--toggle`` flag to easily switch opacity between the specified value and the default (:iss:`6691`)
|
||||
|
||||
- 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 (:iss:`6708`)
|
||||
|
||||
|
||||
0.30.1 [2023-10-05]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue