add:clean all func

This commit is contained in:
2026-04-06 03:26:02 +09:00
parent e39ee1694d
commit 83aab9d943
7 changed files with 138 additions and 3 deletions

View File

@@ -3,6 +3,8 @@ package tui
import (
"filepass/internal/pages"
"filepass/internal/services"
"charm.land/bubbles/v2/textinput"
)
type page int
@@ -15,6 +17,7 @@ const (
pageServerActions
pageFileAction
pageSend
pageCleanAll
)
type TUIInterface struct {
@@ -45,6 +48,10 @@ type TUIInterface struct {
FileOpLoading bool
FileOpErr error
FileOpSuccess string
// clean all confirmation page
CleanInput textinput.Model
CleanOpLoading bool
CleanOpErr error
// send / file picker page
Picker picker
}