Skip to content

Commit a5c568b

Browse files
committed
Update test to account for new interactions with selections and cursor movement
1 parent 21ea23c commit a5c568b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/input/test_input_terminal_cursor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ class InputApp(App):
88
CSS = "Input { padding: 4 8 }"
99

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

1315

1416
async def test_initial_terminal_cursor_position():

0 commit comments

Comments
 (0)