diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-07-21 16:43:00 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-07-21 16:44:59 +0900 |
commit | 06301c7847c69915fe8214ab87480f0eba59c5bf (patch) | |
tree | 0e75664123d60b5bf4d4ad5972fa866e06609a7d /src | |
parent | 18a1aeaa911700488258999a9f05806b6975ff3c (diff) |
Fix regression: ANSI color in preview window not cleared
Diffstat (limited to 'src')
-rw-r--r-- | src/tui/light.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 7fc231f8..a7d12f31 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -882,8 +882,8 @@ func (w *LightWindow) CFill(fg Color, bg Color, attr Attr, text string) FillRetu bg = w.bg } if w.csiColor(fg, bg, attr) { - return w.fill(text, func() { w.csiColor(fg, bg, attr) }) defer w.csi("m") + return w.fill(text, func() { w.csiColor(fg, bg, attr) }) } return w.fill(text, w.setBg) } |