diff options
author | delthas <delthas@dille.cc> | 2022-06-04 12:05:11 +0200 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-06-04 12:05:11 +0200 |
commit | 6f0d19ecf5809d1604d6de9b1d8bcf279d678f4a (patch) | |
tree | a3a2c4d46346468f72741abddb4b407ae6616c16 /commands.go | |
parent | Fix 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