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:
5ee1db1
)
Fix previous commit.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 9 Dec 2025 16:49:40 +0000
(17:49 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 9 Dec 2025 16:49:40 +0000
(17:49 +0100)
src/ircplom/tui_base.py
patch
|
blob
|
history
diff --git
a/src/ircplom/tui_base.py
b/src/ircplom/tui_base.py
index dbbec0800b6b1c3551d1525c6886222a41a8ad1e..a44d4f79ea658c8cf8eaa2a8a68addc9ff8d2ad6 100644
(file)
--- a/
src/ircplom/tui_base.py
+++ b/
src/ircplom/tui_base.py
@@
-564,7
+564,7
@@
class PromptWidget(_ScrollableWidget):
def insert(self, to_insert: str) -> None:
'Insert into prompt input buffer.'
- self.input_buffer = (_buffer[:self._cursor_x]
+ self.input_buffer = (
self.input
_buffer[:self._cursor_x]
+ to_insert
+ self.input_buffer[self._cursor_x:])
self._cursor_x += len(to_insert)