Skip to content

Commit

Permalink
blinking cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 27, 2024
1 parent 11fd7ca commit 2471399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/snapshot_tests/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,9 @@ class TextAreaExample(App):

def compose(self) -> ComposeResult:
with Vertical(id="code-container"):
yield TextArea.code_editor(TEXT, language="python")
text_area = TextArea.code_editor(TEXT, language="python")
text_area.cursor_blink = False
yield text_area

# ctrl+m to maximize, escape should minimize
assert snap_compare(TextAreaExample(), press=["ctrl+m", "escape"])

0 comments on commit 2471399

Please sign in to comment.