Skip to content
Myr

Remove unused interface

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent cdcab26 · Browse files · 4 files+0 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+0 added−12 removed

  • other:+0 added−12 removed

4 files+0 added−12 removed

modified:src/tui/light.go-3 removed
933 unmodified lines
934935func (w *LightWindow) Refresh() {936}937938func (w *LightWindow) Close() {939}940938func (w *LightWindow) X() int {939 return w.posx940}941
230 unmodified lines
modified:src/tui/tcell.go-4 removed
553 unmodified lines
554 w.Erase()555 return w556}557558func (w *TcellWindow) Close() {559 // TODO560}561558func fill(x, y, w, h int, n ColorPair, r rune) {559 for ly := 0; ly <= h; ly++ {560 for lx := 0; lx <= w; lx++ {561 _screen.SetContent(x+lx, y+ly, r, nil, n.style())
267 unmodified lines
modified:src/tui/tui.go-1 removed
557 unmodified lines
558 DrawBorder()559 DrawHBorder()560 Refresh()561 FinishFill()562 Close()562563 X() int564 Y() int565 Enclose(y int, x int) bool
320 unmodified lines
modified:src/terminal.go-4 removed
1537 unmodified lines
1538 height := screenHeight - marginInt[0] - marginInt[2]15391540 t.prevLines = make([]itemLine, screenHeight)1541 if t.border != nil && redrawBorder {1542 t.border.Close()1542 t.border = nil1543 }1544 if t.window != nil {1546 t.window.Close()1545 t.window = nil1546 }1547 if t.pborder != nil {1550 t.pborder.Close()1548 t.pborder = nil1549 }1550 hadPreviewWindow := t.hasPreviewWindow()1551 if hadPreviewWindow {1555 t.pwindow.Close()1552 t.pwindow = nil1553 }1554 // Reset preview version so that full redraw occurs1555 t.previewed.version = 0
3711 unmodified lines