Skip to content

Commit 8a09562

Browse files
committed
no need to sort
1 parent 1e6f331 commit 8a09562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/widgets/_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,5 +1009,5 @@ def action_copy(self) -> None:
10091009
def action_paste(self) -> None:
10101010
"""Paste from the local clipboard."""
10111011
clipboard = self.app._clipboard
1012-
start, end = sorted(self.selection)
1012+
start, end = self.selection
10131013
self.replace(clipboard, start, end)

0 commit comments

Comments
 (0)