diff options
Diffstat (limited to 'src/tui')
| -rw-r--r-- | src/tui/light.go | 4 | ||||
| -rw-r--r-- | src/tui/tui.go | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index 5d3eff88..43d7efee 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -713,10 +713,6 @@ func (w *LightWindow) csi(code string) { w.renderer.csi(code) } -func (w *LightWindow) stderr(str string) { - w.renderer.stderr(str) -} - func (w *LightWindow) stderrInternal(str string, allowNLCR bool) { w.renderer.stderrInternal(str, allowNLCR) } diff --git a/src/tui/tui.go b/src/tui/tui.go index be5bd26a..9b821940 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -117,7 +117,7 @@ func (c Color) is24() bool { const ( colUndefined Color = -2 - colDefault = -1 + colDefault Color = -1 ) const ( @@ -164,10 +164,6 @@ func (p ColorPair) Bg() Color { return p.bg } -func (p ColorPair) is24() bool { - return p.fg.is24() || p.bg.is24() -} - type ColorTheme struct { Fg Color Bg Color |
