- Spell Erik Andersen's name right.
titlebar()
- Now takes an arg, needed for browser function.
+ do_help()
+ - Changed way of temporarily bringing up shortcuts at the
+ bottom in the help screen (actually works).
- utils.c:
mallocstrcpy()
- Takes char pointers now instead of void (makes debugging a
void add_to_cutbuffer(filestruct * inptr);
void do_replace_highlight(int highlight_flag, char *word);
void nano_disabled_msg(void);
+void window_init(void);
#ifdef NANO_EXTRA
void do_credits(void);
#endif
if (ISSET(NO_HELP)) {
+ /* Well if we're going to do this, we should at least
+ do it the right way */
no_help_flag = 1;
- delwin(bottomwin);
- bottomwin = newwin(3, COLS, LINES - 3, 0);
-
- editwinrows -= no_help();
UNSET(NO_HELP);
+ window_init();
bottombars(help_list, HELP_LIST_LEN);
+
} else
bottombars(help_list, HELP_LIST_LEN);
kbinput != NANO_EXIT_FKEY);
if (no_help_flag) {
- werase(bottomwin);
+ blank_bottombars();
wrefresh(bottomwin);
- delwin(bottomwin);
SET(NO_HELP);
- bottomwin = newwin(3 - no_help(), COLS, LINES - 3 + no_help(), 0);
- editwinrows += no_help();
- } else
- display_main_list();
+ window_init();
+ }
+ display_main_list();
curs_set(1);
edit_refresh();