We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec8a6b commit f574057Copy full SHA for f574057
kittens/choose_files/main.go
@@ -50,6 +50,11 @@ type Handler struct {
50
51
func (h *Handler) draw_screen() (err error) {
52
matches, in_progress := h.get_results()
53
+ if len(matches) > 0 {
54
+ h.lp.SetWindowTitle(matches[0].text)
55
+ } else {
56
+ h.lp.SetWindowTitle("Select a file") // TODO: make this conditional on mode
57
+ }
58
h.lp.StartAtomicUpdate()
59
defer h.lp.EndAtomicUpdate()
60
h.lp.ClearScreen()
0 commit comments