mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
parent
a0649edc1e
commit
1cfeec0ca3
@ -201,7 +201,7 @@ func interpretCode(ansiCode string, prevState *ansiState) *ansiState {
|
||||
state = &ansiState{prevState.fg, prevState.bg, prevState.attr, prevState.lbg}
|
||||
}
|
||||
if ansiCode[0] != '\x1b' || ansiCode[1] != '[' || ansiCode[len(ansiCode)-1] != 'm' {
|
||||
if strings.HasSuffix(ansiCode, "0K") {
|
||||
if strings.HasSuffix(ansiCode, "0K") && prevState != nil {
|
||||
state.lbg = prevState.bg
|
||||
}
|
||||
return state
|
||||
|
Loading…
Reference in New Issue
Block a user