feat: in-place reloading on current TTY

This commit is contained in:
verse91
2026-04-11 21:53:37 +07:00
parent 2b760fb82a
commit 78e19199b0
3 changed files with 38 additions and 3 deletions
+1
View File
@@ -280,6 +280,7 @@ func topLevelSuggestions(query string) []Suggestion {
if !seen[name] && (query == "" || hasPrefix(name, query)) {
results = append(results, Suggestion{
Cmd: target, Desc: "alias: " + name, Icon: "root",
// Cmd: target, Desc: "alias: " + name, Icon: "DEBUG", //--> this is just for debug on reloading, dont mind it
})
seen[name] = true
}