home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1036889
)
Fix OSC52 sequence saved to window log rather than just being printed.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Sep 2025 18:41:14 +0000
(20:41 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Sep 2025 18:41:14 +0000
(20:41 +0200)
src/ircplom/tui_base.py
patch
|
blob
|
history
diff --git
a/src/ircplom/tui_base.py
b/src/ircplom/tui_base.py
index e9aba282bb5a3a53cafce26141861b447233f462..ad54537218b06bbd820275ff7c710649bf8efdd1 100644
(file)
--- a/
src/ircplom/tui_base.py
+++ b/
src/ircplom/tui_base.py
@@
-388,7
+388,8
@@
class Window:
def cmd__paste(self) -> None:
'Write OSC 52 ? sequence to get encoded clipboard paste into stdin.'
- self.history.append(f'\033{_OSC52_PREFIX.decode()}?{_PASTE_DELIMITER}')
+ self._term.write(f'\033{_OSC52_PREFIX.decode()}?{_PASTE_DELIMITER}', 0)
+ self.taint()
class TuiEvent(AffectiveEvent):