Skip to content

Commit 3b66e3a

Browse files
committed
pause blink tweak
1 parent f245679 commit 3b66e3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616

1717
- Widget.release_mouse will now only release the mouse, if it was captured by self https://github.com/Textualize/textual/pull/5900
1818
- Some optimizations to TextArea, which may be noticeable during scrolling (note: may break snapshots with a TextArea) https://github.com/Textualize/textual/pull/5925
19+
- Selecting in the TextArea now hides the cursor until you release the mouse https://github.com/Textualize/textual/pull/5925
1920

2021
## Added
2122

src/textual/widgets/_text_area.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ async def _on_mouse_down(self, event: events.MouseDown) -> None:
16911691
# Capture the mouse so that if the cursor moves outside the
16921692
# TextArea widget while selecting, the widget still scrolls.
16931693
self.capture_mouse()
1694-
self._pause_blink(visible=True)
1694+
self._pause_blink(visible=False)
16951695
self.history.checkpoint()
16961696

16971697
async def _on_mouse_move(self, event: events.MouseMove) -> None:

0 commit comments

Comments
 (0)