feat: Focus input on mouse click

This commit is contained in:
icinggslits 2025-03-06 18:32:19 +08:00 committed by 亢奋猫
parent bdb6e30c92
commit 48f66e785b

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.