diff --git a/cmd/application.go b/cmd/application.go index 666cb06..c409d1f 100644 --- a/cmd/application.go +++ b/cmd/application.go @@ -23,8 +23,8 @@ type application struct { messagesText *messagesText messageInput *messageInput - flexPage tview.Page - autocompletePage tview.Page + flexPage int + autocompletePage int } func newApplication(cfg *config.Config) *application { diff --git a/cmd/messages_text.go b/cmd/messages_text.go index c024f9e..6c832cf 100644 --- a/cmd/messages_text.go +++ b/cmd/messages_text.go @@ -38,7 +38,7 @@ type messagesText struct { done chan struct{} } - urlListPage tview.Page + urlListPage int } func newMessagesText(cfg *config.Config) *messagesText { diff --git a/go.mod b/go.mod index de05f97..5983f6a 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.24.3 require ( github.com/BurntSushi/toml v1.5.0 github.com/atotto/clipboard v0.1.4 - github.com/ayn2op/tview v0.0.0-20250615210231-7feb9ae5f9b1 + github.com/ayn2op/tview v0.0.0-20250615213508-2719974b344b github.com/deckarep/gosx-notifier v0.0.0-20180201035817-e127226297fb github.com/diamondburned/arikawa/v3 v3.5.0 github.com/diamondburned/ningen/v3 v3.0.1-0.20250607192146-d6b46a4689a5 diff --git a/go.sum b/go.sum index 764d1b5..8b05d17 100644 --- a/go.sum +++ b/go.sum @@ -29,6 +29,8 @@ github.com/ayn2op/tview v0.0.0-20250604214506-7f855bbbeea6 h1:W+W8iOKrt1mwNk1NJK github.com/ayn2op/tview v0.0.0-20250604214506-7f855bbbeea6/go.mod h1:PuMMP3J7SfW0jgAc1fdABOHJkoGbQIw3jejRAkl0API= github.com/ayn2op/tview v0.0.0-20250615210231-7feb9ae5f9b1 h1:yJcq6PmnNKMZTr7y5mWylp3+XY20vNTNHwxRIPGL9YU= github.com/ayn2op/tview v0.0.0-20250615210231-7feb9ae5f9b1/go.mod h1:PuMMP3J7SfW0jgAc1fdABOHJkoGbQIw3jejRAkl0API= +github.com/ayn2op/tview v0.0.0-20250615213508-2719974b344b h1:rTaFMJVkVySIJtIJnbE0fT7IcyhNBajPvNVGLAJ3kk4= +github.com/ayn2op/tview v0.0.0-20250615213508-2719974b344b/go.mod h1:PuMMP3J7SfW0jgAc1fdABOHJkoGbQIw3jejRAkl0API= 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= diff --git a/internal/login/form.go b/internal/login/form.go index 82c3afc..2e05269 100644 --- a/internal/login/form.go +++ b/internal/login/form.go @@ -20,8 +20,8 @@ type Form struct { form *tview.Form done DoneFn - formPage tview.Page - errPage tview.Page + formPage int + errPage int } func NewForm(cfg *config.Config, done DoneFn) *Form {