Replies: 2 comments 10 replies
-
The cursor within those controls isn't the terminal's own cursor; it is an effect provided by the widgets themselves. Those widgets can't know if the terminal emulator window you're using is focused in your environment. To the best of my knowledge |
Beta Was this translation helpful? Give feedback.
10 replies
-
Taken care in #4265. So this can be closed. Thanks for the textual devs for making this improvement! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following simple app has Input and TextArea widgets. Focus transitions between them as expected. However, when I focus some other window than iTerm2 running textual app then cursor still keeps on blinking on the previously focused widget. I would expect that by default focus is removed alltogether from app when other window gets focus. Or is this something app needs to be specifically configured?
I added also _on_app_focus annd _on_app_blur event handlers for debugging, but they are not invoked. Maybe these are only relevant for textual-web based on comments (# Required by textual-web to manage focus in a web page.)As this might be platform/terminal related here's the configuration I have.
macOS Sonoma: Version 14.3
iTerm2: Build 3.4.23
Python 3.12
Textual 0.52.1
Beta Was this translation helpful? Give feedback.
All reactions