aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-09-14 18:34:49 +0200
committerRobin Jarry <robin@jarry.cc>2022-09-14 20:51:51 +0200
commitef99ec17d63629fdc62bcc8ed6360a56bc7128fa (patch)
tree7769f26b313109cf05283c2d708a76159ef1f83d /widgets/aerc.go
parent9c11ab21c73cecf80a243d8dfb55b7793da7bb96 (diff)
downloadaerc-ef99ec17d63629fdc62bcc8ed6360a56bc7128fa.tar.gz
history: store command history in a file
Losing your progress in case of a crash, or when accidentally closing aerc is annoying and costs time. This can be drastically reduced by keeping a persistent history. Write commands to XDG_CACHE_DIR/aerc/histfile when they are run and load them when needed. If another instance of aerc is already writing the file, fall back to the current model, where the history is kept in memory. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'widgets/aerc.go')
0 files changed, 0 insertions, 0 deletions