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

Sometime type-to-nav mode cannot be toggled properly by ^N #1449

Closed
amalgame21 opened this issue Aug 1, 2022 · 6 comments
Closed

Sometime type-to-nav mode cannot be toggled properly by ^N #1449

amalgame21 opened this issue Aug 1, 2022 · 6 comments
Labels

Comments

@amalgame21
Copy link
Contributor

Most of the time when I open nnn in the ~ directory, and press ^N to toggle type-to-nav mode, it cannot be toggled in a few keypress (maybe the first 1-3 time would fail).
I have to keep pressing ^N multiple time and suddenly it can toggle properly.

This problem is mainly in ~ directory, maybe because a lot of directories, files and symlinks are in there.
Other directory also have this problem, but it is very rare.

So I decided to record the screen to demonstrate what is going on, which further amplify the problem a lot.

screen-trim2

I was recording the screen with ffmpeg and store it in ~ directory as screen.mkv.
Below are the descriptions of the above gif:

  1. When I was recording, I cannot use ^N to toggle type-to-nav anymore. Instead, it keeps refreshing the screen but nothing happened.

  2. Then I press k and l to enter the empty Public directory. When I was in the directory, the first 3 ^N keypress is not working, but suddenly it is working to toggle the type-to-nav mode.

  3. When I go back to the ~ directory by pressing h, ^N was not working anymore. When I keep pressing ^N,the screen only keep refreshing.

This is tested with nnn-4.6 from official arch linux repository with no modification.

@amalgame21 amalgame21 added the bug label Aug 1, 2022
@jarun
Copy link
Owner

jarun commented Aug 1, 2022

What terminal are you using? Please check if the terminal has any binding for ^N.

@amalgame21
Copy link
Contributor Author

amalgame21 commented Aug 1, 2022

What terminal are you using? Please check if the terminal has any binding for ^N.

The gif was recorded with xterm.
I tried alacritty and xfce4-terminal with same result.
Seems all have no keybinding for ^N
I tried both zsh and bash to launch nnn with same result.
And I use the command ffmpeg -f x11grab -video_size 1920x1080 -framerate 25 -i $DISPLAY -c:v ffvhuff screen.mkv from arch wiki (https://wiki.archlinux.org/title/Ffmpeg)to record the video.

@jarun
Copy link
Owner

jarun commented Aug 1, 2022

I guess commit 12b5416 introduces this.

@jarun jarun closed this as completed in ab9d8be Aug 1, 2022
@jarun
Copy link
Owner

jarun commented Aug 1, 2022

Please try with master.

@jarun jarun mentioned this issue Aug 1, 2022
6 tasks
@amalgame21
Copy link
Contributor Author

Please try with master.

seems working fine now!!!

@jarun
Copy link
Owner

jarun commented Aug 1, 2022

Thank you for reporting the issue!

@jarun jarun mentioned this issue Aug 5, 2022
1 task
@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants