Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting bug, different behavior for t and ^T #1870

Closed
lifeformg opened this issue Apr 19, 2024 · 2 comments
Closed

Sorting bug, different behavior for t and ^T #1870

lifeformg opened this issue Apr 19, 2024 · 2 comments

Comments

@lifeformg
Copy link

When t+t is pressed, files are sorted by time, and the status shows "M".
When t+T is pressed, files are sorted in reverse order by file name, and the status shows "R".
When ^T+t is pressed, files are sorted by time, and the status shows "M".
When ^T+T is pressed, files are sorted in reverse order by time, and the status displays "MR".
The wiki shows that t and ^T should have the same behavior, but it seems that only the behavior of ^T is correct (if I want to sort in reverse order by time).

@lifeformg lifeformg added the bug label Apr 19, 2024
@N-R-K
Copy link
Collaborator

N-R-K commented Apr 19, 2024

The wiki shows that t and ^T should have the same behavior

They do have the same behavior on my end. Please provide the information the issue report template asks for, including the nnn version you're using.

@jarun
Copy link
Owner

jarun commented Apr 21, 2024

When t+T is pressed, files are sorted in reverse order by file name, and the status shows "R".

I my case t+T shows "MR", as expected. Don't see any issues here.

Please provide the steps to reproduce the issue and I will reopen the issue.

Make sure the directory doesn't have a predefined sort order.

@jarun jarun closed this as completed Apr 21, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants