Page MenuHomeSolus

Update nano to 5.6
ClosedPublic

Authored by algent on Feb 27 2021, 5:56 PM.

Details

Summary

Changelog:

  • A search match gets highlighted (in black on yellow by default), in addition to placing the cursor at the start of the match. The color combination can be changed with 'set highlightcolor'. By default the cursor is hidden until the next keystroke, but it can be forced on with --showcursor / 'set showcursor'.
  • Option --markmatch / 'set markmatch' has been removed.
  • Cursor position and character code are displayed in the minibar only when option --constantshow / 'set constantshow' is used, and their display can be toggled with M-C.
  • The state flags are displayed in the minibar only when option --stateflags / 'set stateflags' is used.
  • Option 'set minibar' makes nano suppress the title bar and instead show a bar with basic editing information at the bottom: file name (plus an asterisk when the buffer is modified), the cursor position (line,column), the character under the cursor (U+xxxx), the flags that --stateflags normally shows, plus the percentage of the buffer that is above the cursor.
  • With 'set promptcolor' the color combination of the prompt bar can be changed, to allow contrasting it with the mini bar (which always has the same color as the title bar).
  • Option 'set markmatch' highlights the result of a successful search by putting the mark at the end of the match, making the match more visible. It also suppresses the cursor until the next keystroke. (If you dislike the hiding of the cursor, use 'set showcursor'.)
  • The bindable toggle 'nowrap' has been renamed to 'breaklonglines', to match the corresponding option, like for all other toggles.
  • Support for Slang has been removed.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Modify some text files.
  • Submit this diff using nano editor.

Diff Detail

Repository
R2131 nano
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Feb 27 2021, 5:56 PM
algent requested review of this revision.Feb 27 2021, 5:56 PM
algent edited the summary of this revision. (Show Details)Feb 27 2021, 5:57 PM
algent edited the summary of this revision. (Show Details)
JoshStrobl accepted this revision.Mar 1 2021, 8:18 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Mar 1 2021, 8:18 PM
This revision was automatically updated to reflect the committed changes.