mgunyho / tere

Terminal file explorer
European Union Public License 1.2
1.68k stars 38 forks source link

Sort by other things than name #27

Closed mgunyho closed 2 years ago

mgunyho commented 2 years ago

Currently the listing is always sorted by name. Would be nice to also sort by e.g. date, although I have not had much use for this. In that case, should also add a date column to the listing. Should be configurable whether the sorting stays the same when entering a folder.

joshrdane commented 2 years ago

Mind if I work on this feature?

mgunyho commented 2 years ago

Hi!

Sure, go ahead! I haven't implemented this mostly because it requires figuring out quite a few details which I've been too busy/lazy to decide on:

But please go ahead and make a PR and let's see where this goes.

Note: if you start working on this, see #62 (should be merged soon) which adds some functionality for handling changes to settings that affect the directory listing. I'm also working on some bug fixes related to the drawing of the main screen (I'll do a PR about these soon), which might conflict with this, but we can figure it out.

joshrdane commented 2 years ago

Hey, so I had the some of the same questions about the details.

mgunyho commented 2 years ago

Fixed by #64