GNU nano - Bugs: bug #59180, on a one-row terminal, searching...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59180: on a one-row terminal, searching can hide the current line
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Fri 25 Sep 2020 03:05:47 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Fri 25 Sep 2020 06:08:08 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Fri 25 Sep 2020 05:53:45 PM UTC, comment #1: The offending commit is f7d5a82a: "wipe the status bar before searching again (M-W / M-Q)".
|
Benno Schulenberg <bens> |
Fri 25 Sep 2020 03:05:47 PM UTC, original submission:
To reproduce, make an xterm window of one row, and run 'src/nano --ignore THANKS'. Then type: ^W a <Enter>. See that the cursor sits somewhere in a seemingly blank line. Now type M-W three times. The cursor jumps to other places in the blank line. Type M-W again. Now the cursor sits on the first "a" of "Translations". Type M-W again. The cursor now sits where the second "a" was, but the line is now blank. :|
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-10-08 | bens | Open/Closed | Open | Closed | |
2020-09-25 | bens | Status | In Progress | Fixed | |
2020-09-25 | bens | Status | None | In Progress |
Powered by Savane 3.13-4448.
Corresponding source code
Fixed in git, commit dac58bb6, by not wiping the status bar (or by scheduling a refresh of the edit window) when there is just one row.