less
less copied to clipboard
Changing wrap option does not take effect immediately
Steps to reproduce:
- Run
seq 120 | less - Type
/13and press Enter. "13" in line 13 is highlighted. - Press
n. "13" in line 113 is highlighted. - Press
n. The message "Pattern not found" is displayed. - Enter
--search-options=wand press Enter. - Press
n.
Expected: Search should wrap and show line 13. Actual: The message "Pattern not found" is displayed.