summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-09-15 15:41:42 -0700
committerKevin McCarthy <kevin@8t8.us>2019-09-16 11:21:05 -0700
commita4b53e19ef471efc1938348d1623b811354f1c93 (patch)
tree8c1a5c2e31cc59a7cba2e4d209db6d3eec51fc0a /lib.h
parentfa9652302787c73557fc710b83cbc5686ce10fb3 (diff)
Improve sidebar indentation and shortpath behavior.
The previous implementation only enabled $sidebar_folder_indent for mailboxes underneath $folder. Change indentation to be based upon the previous common-path mailbox in the list. Indent one more than the common-path mailbox, rather than the number of delimiters after $folder. Change $sidebar_short_path to shorten based on the previous mailbox in the list too. Invoke mutt_buffer_pretty_mailbox() to prefix the mailbox with '~' or '=' characters. This changes the output for the case where mailbox equals $folder, but provides uniform display behavior across mutt. Thanks to Christopher Zimmermann (@madroach) for the original patch, which this commit is based upon.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions