summaryrefslogtreecommitdiff
path: root/commands.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2022-06-04 12:05:11 +0200
committerdelthas <delthas@dille.cc>2022-06-04 12:05:11 +0200
commit6f0d19ecf5809d1604d6de9b1d8bcf279d678f4a (patch)
treea3a2c4d46346468f72741abddb4b407ae6616c16 /commands.go
parentFix crashing on removing last char of backsearch pattern (diff)
Reset history when flushing lines
Previously, when modifying a line in the history (and then possibly sending it), the history was modified, meaning that when looking up history lines again, instead of seeing a new line, the actual original line had been modified. With this patch, history is always kepy, and modifying a previous line and sending it will add this line to the history, and restore the previous history, after flushing the message.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions