Ticket #2948 (closed enhancement: fixed)

Opened 13 months ago

Last modified 3 months ago

Browser should pretty-print current directory

Reported by: pdmef Owned by: pdmef
Priority: minor Milestone: 1.6
Component: display Version: 1.5.16
Keywords: Cc:

Description

The directory browser does not pretty-print directories entered interactively in the status bar:

  • When in '/foo' and entering '../bar', it shows '/foo/../bar'
  • When in '/baz' and entering '/foo/../bar', it shows '/foo/../bar'.

The directory shown seems to be correct, so it's a display issue only.

Fixing is not technically hard but I'm not sure where the best place to do so is.

Change History

Changed 4 months ago by brendan

  • owner changed from mutt-dev to pdmef

What do you think about doing it in mutt_pretty_mailbox?

Changed 3 months ago by pdmef

  • status changed from new to closed
  • resolution set to fixed

(In [8b783c916893]) Use realpath() in mutt_pretty_mailbox() for paths that may need it. This requires to add the buffer size as parameter since the result may be longer than the original but still fit in the buffer. Closes #2948.

Note: See TracTickets for help on using tickets.