summaryrefslogtreecommitdiff
path: root/src/tui
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-12-14 22:31:28 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-12-14 22:31:39 +0900
commit805efc5bf1411864f76d721c2c3e62d02bc315bc (patch)
tree0c8507419903c467851c6e5cc3ba2061fb0f3d45 /src/tui
parentcdcab267660473de1621b4a1d8c8f2d4d43f05ae (diff)
downloadfzf-805efc5bf1411864f76d721c2c3e62d02bc315bc.tar.gz
Remove unused interface
Diffstat (limited to 'src/tui')
-rw-r--r--src/tui/light.go3
-rw-r--r--src/tui/tcell.go4
-rw-r--r--src/tui/tui.go1
3 files changed, 0 insertions, 8 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index 3c930e26..95984542 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -935,9 +935,6 @@ func (w *LightWindow) Height() int {
func (w *LightWindow) Refresh() {
}
-func (w *LightWindow) Close() {
-}
-
func (w *LightWindow) X() int {
return w.posx
}
diff --git a/src/tui/tcell.go b/src/tui/tcell.go
index 455dcf13..a3ce2cb1 100644
--- a/src/tui/tcell.go
+++ b/src/tui/tcell.go
@@ -555,10 +555,6 @@ func (r *FullscreenRenderer) NewWindow(top int, left int, width int, height int,
return w
}
-func (w *TcellWindow) Close() {
- // TODO
-}
-
func fill(x, y, w, h int, n ColorPair, r rune) {
for ly := 0; ly <= h; ly++ {
for lx := 0; lx <= w; lx++ {
diff --git a/src/tui/tui.go b/src/tui/tui.go
index c5330849..902d13fe 100644
--- a/src/tui/tui.go
+++ b/src/tui/tui.go
@@ -559,7 +559,6 @@ type Window interface {
DrawHBorder()
Refresh()
FinishFill()
- Close()
X() int
Y() int