fix: clear commands after entering
This commit is contained in:
@ -127,6 +127,9 @@ export const KMenu = (
|
||||
|
||||
if (ev.key === "Enter") {
|
||||
activateEntry(entries[activeIndex.value]);
|
||||
if (input.current) {
|
||||
input.current.value = "";
|
||||
}
|
||||
}
|
||||
|
||||
if (ev.key === "ArrowUp") {
|
||||
|
Reference in New Issue
Block a user