less icon indicating copy to clipboard operation
less copied to clipboard

Changing wrap option does not take effect immediately

Open gwsw opened this issue 2 years ago • 0 comments

Steps to reproduce:

  1. Run seq 120 | less
  2. Type /13 and press Enter. "13" in line 13 is highlighted.
  3. Press n. "13" in line 113 is highlighted.
  4. Press n. The message "Pattern not found" is displayed.
  5. Enter --search-options=w and press Enter.
  6. Press n.

Expected: Search should wrap and show line 13. Actual: The message "Pattern not found" is displayed.

gwsw avatar Dec 04 '23 22:12 gwsw