-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Indicate type-to-nav mode with symbol F #1937
Conversation
184335f
to
c291932
Compare
Thank you! |
@@ -3238,6 +3238,9 @@ static int getorderstr(char *sort) | |||
{ | |||
int i = 0; | |||
|
|||
if (cfg.filtermode) | |||
sort[i++] = 'F'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the right place to add this though? This string is related to sorting, but type to nav mode isn't really related to sorting order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True but it's the smallest patch. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I don't understand the code design very much and I just hacked it with my very very limited knowledge in C. If it is not the proper place to add this code and mess thing up please reverse it. Local patch is easy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have taken care of it. The code is better placed now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Really appreciated!!!
Notify the user the current context menu is in type-to-nav mode with symbol N after pressing
ESC
in type-to-nav mode.After pressing
^N
, the symbol N disappear, indicate it is no longer in type-to-nav mode.Feel free to reject it if it does not match nnn's design.