diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-11-18 02:07:06 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-11-23 00:14:54 +0100 |
commit | 85d0936df6861c41a1dddd91a2f3b97afd8e127a (patch) | |
tree | 72def6d94ba56f508bdc6cbf051865c000d968dc /app/account.go | |
parent | 48b9589d8bbe4ec8982c08a9fe6e59b77734eb80 (diff) | |
download | aerc-85d0936df6861c41a1dddd91a2f3b97afd8e127a.tar.gz |
dirlist/dirtree: context handling
Add a NewContext() function that extracts and handles the canceling and
re-creation of a new context for the directory list. This enables a
better control of the context cancellation especially for a directory
tree when a virtual node is selected. Before, the previous folder would
have been opened if a virtual node was selected.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app/account.go')
0 files changed, 0 insertions, 0 deletions