mirror of
https://github.com/junegunn/fzf.git
synced 2025-12-10 06:31:54 +08:00
Always prepend ANSI reset code before re-assembling tokens
This commit is contained in:
@@ -34,7 +34,7 @@ func (s *ansiState) equals(t *ansiState) bool {
|
||||
|
||||
func (s *ansiState) ToString() string {
|
||||
if !s.colored() {
|
||||
return "\x1b[m"
|
||||
return ""
|
||||
}
|
||||
|
||||
ret := ""
|
||||
|
||||
Reference in New Issue
Block a user