nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 0b63de335e872ece83a18b58139d044bed3adc38
parent 628eef28b37c8af33c753a8611340533dcf43422
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 28 Sep 2018 20:06:47 +0200

tweaks: elide a wrapper function that is no longer useful

Diffstat:
Msrc/nano.c | 2+-
Msrc/proto.h | 1-
Msrc/text.c | 2+-
Msrc/winio.c | 7-------
4 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -2681,7 +2681,7 @@ int main(int argc, char **argv) confirm_margin(); #endif if (currmenu != MMAIN) - display_main_list(); + bottombars(MMAIN); lastmessage = HUSH; as_an_at = TRUE; diff --git a/src/proto.h b/src/proto.h @@ -665,7 +665,6 @@ void edit_refresh(void); void adjust_viewport(update_type location); void total_redraw(void); void total_refresh(void); -void display_main_list(void); void do_cursorpos(bool force); void do_cursorpos_void(void); void spotlight(bool active, size_t from_col, size_t to_col); diff --git a/src/text.c b/src/text.c @@ -2423,7 +2423,7 @@ void do_justify(bool full_justify) /* Show "Unjustify" in the help lines. */ uncutfunc->desc = unjust_tag; - display_main_list(); + bottombars(MMAIN); #ifndef NANO_TINY kbinput = KEY_WINCH; diff --git a/src/winio.c b/src/winio.c @@ -3334,13 +3334,6 @@ void total_refresh(void) bottombars(currmenu); } -/* Display the main shortcut list on the last two rows of the bottom - * portion of the window. */ -void display_main_list(void) -{ - bottombars(MMAIN); -} - /* Show info about the current cursor position on the statusbar. * Do this unconditionally when force is TRUE; otherwise, only if * suppress_cursorpos is FALSE. In any case, reset the latter. */