Skip to content

Commit

Permalink
no need to sort
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Dec 6, 2024
1 parent 1e6f331 commit 8a09562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,5 +1009,5 @@ def action_copy(self) -> None:
def action_paste(self) -> None:
"""Paste from the local clipboard."""
clipboard = self.app._clipboard
start, end = sorted(self.selection)
start, end = self.selection
self.replace(clipboard, start, end)

0 comments on commit 8a09562

Please sign in to comment.