mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-10 23:57:43 +02:00
stop referencing termbox
This commit is contained in:
parent
6a6024e38f
commit
1149dea4b2
@ -14,7 +14,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/termbox-go"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// SplitLines takes a multiline string and splits it on newlines
|
// SplitLines takes a multiline string and splits it on newlines
|
||||||
@ -368,7 +367,8 @@ func Safe(f func()) {
|
|||||||
panicking := true
|
panicking := true
|
||||||
defer func() {
|
defer func() {
|
||||||
if panicking {
|
if panicking {
|
||||||
termbox.Close()
|
// TODO: close tcell
|
||||||
|
// termbox.Close()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user