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

n command works incorrectly after & #299

Closed
gwsw opened this issue Nov 8, 2022 · 1 comment
Closed

n command works incorrectly after & #299

gwsw opened this issue Nov 8, 2022 · 1 comment

Comments

@gwsw
Copy link
Owner

gwsw commented Nov 8, 2022

To reproduce:

  1. Run seq 200 | less
  2. Type /3 and press Enter. Observe all 3s are highlighted.
  3. Type &9 and press Enter. Observe only lines containing 9 are displayed, and 3s are still highlighted.
  4. Press n repeatedly.

Expected:
At each n it should advance to the next (highlighted) 3.

Actual:
Advances to the next line, even if it doesn't contain a 3.

@gwsw
Copy link
Owner Author

gwsw commented Nov 11, 2022

Fixed in 2fd1e2d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant