GNU nano - Bugs: bug #65445, with --softwrap and small files,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65445: with --softwrap and small files, the indicator has a wrong size
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Mon 11 Mar 2024 09:48:22 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Mon 11 Mar 2024 10:33:18 AM UTC, comment #2: |
Benno Schulenberg <bens> |
Mon 11 Mar 2024 10:26:39 AM UTC, comment #1: The offending commit is 49d8b99e: "avoid time-consuming computations, to burden large files less". The adjustment of the scroller size (for when softwrapping) two commits later (commit f54bc6c7) forgot to not readjust 'highest' when softwrapping. |
Benno Schulenberg <bens> |
Mon 11 Mar 2024 09:48:22 AM UTC, original submission:
To reproduce, run:
(The latter command should be run on a default xterm, -geometry 80x24.)
|
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 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-03-11 | bens | Severity | 3 - Normal | 2 - Minor | |
Status | None | Fixed |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit 8cf61af5, by not readjusting the scroller size for small files when --softwrap is active. (This might leave some room at the bottom of the scroller when actually all lines of the file are onscreen, but... I can live with that small discrepancy.)