#3082: current input not preserved in history when cycling
---------------------+----------------------
Reporter: Ulrich | Owner: kevin8t8
Type: defect | Status: closed
Priority: major | Milestone:
Component: mutt | Version:
Resolution: fixed | Keywords: patch
---------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [4ba366bc7c452044735bb5c61eabfa0465a460af]:
{{{
#!CommitTicketReference repository=""
revision="4ba366bc7c452044735bb5c61eabfa0465a460af"
Add a scratch buffer to the history ring. (closes #3082)
This patch creates an extra slot in the history ring for a scratch
buffer (at h->last). If you are editing inside that buffer, it is
preserved when you scroll up/down through the history. Editing while in
other places in history are *not* preserved with this patch.
Another behavior change worth noting with this patch: the position in
history is now reset to the scratch buffer after each input entry.
Before, the position would be stay wherever it was - you didn't restart
at the "bottom" each time.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3082#comment:4>
Mutt <http://www.mutt.org/>
The Mutt mail user agent