wrefresh() on edit instead of curscr, since slang's curses emulation
doesn't include a curscr equivalent; and revert Jordi's removal of a
space in the main help text, as its second paragraph won't be properly
indented by one space without it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2487
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
- nano.c:
- help_init()
- - Remove extra space from main help text (Jordi).
print1opt_full()
- If desc should be empty, allow it to be NULL instead of
"", since the latter is not necessarily translated as "".
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
total_update()
- - Simplify to call clearok(TRUE) and wrefresh() on curscr, which
+ - Simplify to call clearok(TRUE) and wrefresh() on edit, which
updates the entire screen in fewer function calls. (DLR)
- THANKS:
- Add new translators to the credits.
"showing the file being edited. The status line is "
"the third line from the bottom and shows important "
"messages. The bottom two lines show the most "
- "commonly used shortcuts in the editor.\n\n");
+ "commonly used shortcuts in the editor.\n\n ");
htx[1] = N_("The notation for shortcuts is as follows: "
"Control-key sequences are notated with a caret (^) "
"symbol and can be entered either by using the Control "
void total_update(void)
{
- clearok(curscr, TRUE);
- wrefresh(curscr);
+ clearok(edit, TRUE);
+ wrefresh(edit);
}
void total_refresh(void)