Feat: cli mode

This commit is contained in:
Grail Finder
2026-03-15 15:30:10 +03:00
parent e476575334
commit 2c9c36e2c6
4 changed files with 320 additions and 22 deletions

1
tui.go
View File

@@ -230,6 +230,7 @@ func initTUI() {
tview.Styles = colorschemes["default"]
app = tview.NewApplication()
pages = tview.NewPages()
outputHandler = &TUIOutputHandler{tv: textView}
shellInput = tview.NewInputField().
SetLabel(fmt.Sprintf("[%s]$ ", cfg.FilePickerDir)). // dynamic prompt
SetFieldWidth(0).