fix search keys colliding with typing: letters in a package name (the i in 'ripgrep', t in 'git') were triggering install/try/etc. Now every printable key types into the query; only Enter (select), Tab (detail), arrows (nav), Esc (cancel) act. Enter returns the highlighted package and the shared selectAndInstall() prompt (i/s/t) runs after the widget's raw mode is gone — no collision. Also dupe the chosen package into the caller's allocator (search arena deinits on return; old code returned dangling slices). Removed now-unused copyToClipboard + SearchResult; controls now '[enter] install [tab] info [up/down] nav [esc] cancel' — build+tests green
$ koh steal kepr.uk/nina@fc944d79e97e
·
parent: 5ea64eb84989
discussion
log in to leave a comment.