Feat: cli mode
This commit is contained in:
1
tui.go
1
tui.go
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user