feat: Focus input on mouse click

This commit is contained in:
icinggslits 2025-03-06 18:32:19 +08:00 committed by 亢奋猫
parent 43ea1b8617
commit 321254fc0e

View File

@ -165,6 +165,7 @@ const HomeWindow: FC = () => {
const clearClipboard = () => {
setClipboardText('')
setSelectedText('')
focusInput()
}
// If the input is focused, the `Esc` callback will not be triggered here.