1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

stop referencing termbox

This commit is contained in:
Jesse Duffield 2021-02-09 20:54:25 +11:00
parent 08cb6deff3
commit b94b108adc

View File

@ -14,7 +14,6 @@ import (
"time"
"github.com/fatih/color"
"github.com/jesseduffield/termbox-go"
)
// SplitLines takes a multiline string and splits it on newlines
@ -368,7 +367,8 @@ func Safe(f func()) {
panicking := true
defer func() {
if panicking {
termbox.Close()
// TODO: close tcell
// termbox.Close()
}
}()