mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-09 00:39:27 -05:00
ai: dont keep text when command fails
This commit is contained in:
@@ -447,8 +447,8 @@ int main(int argc, char* argv[]) {
|
||||
event.accepted = true
|
||||
} else { // Accept text
|
||||
const inputText = messageInputField.text
|
||||
root.handleInput(inputText)
|
||||
messageInputField.clear()
|
||||
root.handleInput(inputText)
|
||||
event.accepted = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user