Fix #8459
This commit is contained in:
parent
f57f3d9909
commit
272045287a
2 changed files with 5 additions and 1 deletions
|
|
@ -114,6 +114,10 @@ Detailed list of changes
|
|||
character at the right edge of a line that needs to be moved onto the next
|
||||
line (:iss:`8464`)
|
||||
|
||||
- Fix a regression in 0.40.1 that caused copying to clipboard via OSC 52 from
|
||||
applications that dont specify a destination in the escape code not working
|
||||
(:iss:`8459`)
|
||||
|
||||
0.40.1 [2025-03-18]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ def parse_osc_52(self, data: memoryview, is_partial: bool = False) -> None:
|
|||
else:
|
||||
where = str(data, "utf-8", 'replace')
|
||||
data = data[len(data):]
|
||||
destinations = {ClipboardType.from_osc52_where_field(where) for where in where}
|
||||
destinations = {ClipboardType.from_osc52_where_field(where) for where in where or 's0'}
|
||||
destinations.discard(ClipboardType.unknown)
|
||||
if len(data) == 1 and data.tobytes() == b'?':
|
||||
for d in destinations:
|
||||
|
|
|
|||
Loading…
Reference in a new issue