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

Filtering with & can hide header lines #423

Closed
gwsw opened this issue Sep 9, 2023 · 1 comment
Closed

Filtering with & can hide header lines #423

gwsw opened this issue Sep 9, 2023 · 1 comment

Comments

@gwsw
Copy link
Owner

gwsw commented Sep 9, 2023

Steps to reproduce:

  1. Run less --header=1 file.
  2. Enter &pattern where pattern does not appear in the header line.

Expected result: header line remains visible.
Actual result: the first line which contains pattern becomes the header line.

Related to #397

@gwsw
Copy link
Owner Author

gwsw commented Sep 11, 2023

Fixed in f49b3db.

@gwsw gwsw closed this as completed Sep 11, 2023
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