mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Update TODO
This commit is contained in:
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/kovidgoyal/kitty/tools/utils"
|
||||
)
|
||||
|
||||
// TODO: Comboboxes, multifile selections, change dir, mountpoint crossing
|
||||
// options, save file name, file/dir modes.
|
||||
// TODO: Comboboxes, multifile selections, save file name, file/dir modes. Make
|
||||
// window title conditional on mode
|
||||
|
||||
var _ = fmt.Print
|
||||
var debugprintln = tty.DebugPrintln
|
||||
@@ -81,11 +81,7 @@ type Handler struct {
|
||||
|
||||
func (h *Handler) draw_screen() (err error) {
|
||||
matches, in_progress := h.get_results()
|
||||
if len(matches) > 0 {
|
||||
h.lp.SetWindowTitle(matches[0].text)
|
||||
} else {
|
||||
h.lp.SetWindowTitle("Select a file") // TODO: make this conditional on mode
|
||||
}
|
||||
h.lp.SetWindowTitle("Select a file") // TODO: make this conditional on mode
|
||||
h.lp.StartAtomicUpdate()
|
||||
defer h.lp.EndAtomicUpdate()
|
||||
h.lp.ClearScreen()
|
||||
|
||||
Reference in New Issue
Block a user