refactor: use upstream (*tview.Pages).Clear instead
This commit is contained in:
parent
257c676048
commit
625cbedb3d
3 changed files with 4 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ func (a *application) quit() {
|
|||
}
|
||||
|
||||
func (a *application) init() {
|
||||
a.pages.ClearPages()
|
||||
a.pages.Clear()
|
||||
a.flex.Clear()
|
||||
|
||||
right := tview.NewFlex().
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -5,7 +5,7 @@ go 1.25.0
|
|||
require (
|
||||
github.com/BurntSushi/toml v1.5.0
|
||||
github.com/andybalholm/brotli v1.2.0
|
||||
github.com/ayn2op/tview v0.0.0-20250928171107-48f688315a93
|
||||
github.com/ayn2op/tview v0.0.0-20250929022929-402992ca515f
|
||||
github.com/deckarep/gosx-notifier v0.0.0-20180201035817-e127226297fb
|
||||
github.com/diamondburned/arikawa/v3 v3.6.1-0.20250923014154-374d28cbf6b1
|
||||
github.com/diamondburned/ningen/v3 v3.0.1-0.20250920191746-98fbd92e134d
|
||||
|
|
|
|||
2
go.sum
2
go.sum
|
|
@ -29,6 +29,8 @@ github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwTo
|
|||
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
|
||||
github.com/ayn2op/tview v0.0.0-20250928171107-48f688315a93 h1:4g4dYQ4pFnK+oekEOM4Vs7atHXTcKRW9rTghvc9xOBU=
|
||||
github.com/ayn2op/tview v0.0.0-20250928171107-48f688315a93/go.mod h1:xqhotzuhTSxSudyNSHJfpD6S5C7+FFVv+JzJ8YaFNK4=
|
||||
github.com/ayn2op/tview v0.0.0-20250929022929-402992ca515f h1:ZHyPECVunPIGx4kLcIYT58x1WSCn2ounz4jV1YVT3vo=
|
||||
github.com/ayn2op/tview v0.0.0-20250929022929-402992ca515f/go.mod h1:xqhotzuhTSxSudyNSHJfpD6S5C7+FFVv+JzJ8YaFNK4=
|
||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
||||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue