zellij/src
toymil 9deb033340
feat: list-sessions show newest sessions last, for better user experience (#3194)
* feat: sort `list-sessions` from oldest to newest

by putting the most recent sessions last, the user won't need to scroll back up
to see active sessions when there are a lot of resurrectable sessions.

* feat: add an `--reverse` option to the `list-sessions` subcommand

the `--reverse` flag reverts sorting order back to the old "newest sessions
first".  also updated call sites of `list_sessions` and `print_sessions` with
`reverse: true`, to keep the original behavior everywhere else except the output
of `list-sessions` subcommand.

* chore: update the help message

---------

Co-authored-by: Jae-Heon Ji <atx6419@gmail.com>
2024-03-24 23:30:47 +09:00
..
tests feat: add moving tab to other position (#3047) 2024-02-19 03:40:03 +09:00
commands.rs feat: list-sessions show newest sessions last, for better user experience (#3194) 2024-03-24 23:30:47 +09:00
main.rs feat: list-sessions show newest sessions last, for better user experience (#3194) 2024-03-24 23:30:47 +09:00
sessions.rs feat: list-sessions show newest sessions last, for better user experience (#3194) 2024-03-24 23:30:47 +09:00