Skip to content

Commit

Permalink
Update test to account for new interactions with selections and curso…
Browse files Browse the repository at this point in the history
…r movement
  • Loading branch information
darrenburns committed Dec 17, 2024
1 parent 21ea23c commit a5c568b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/input/test_input_terminal_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ class InputApp(App):
CSS = "Input { padding: 4 8 }"

def compose(self) -> ComposeResult:
yield Input("こんにちは!")
# We don't want to select the text on focus, as selected text
# has different interactions with the cursor_left action.
yield Input("こんにちは!", select_on_focus=False)


async def test_initial_terminal_cursor_position():
Expand Down

0 comments on commit a5c568b

Please sign in to comment.