done. This fixes a problem where the statusbar is not
properly blanked after using the "Go To Line" prompt with the
NO_HELP flag set. (DLR)
+ titlebar()
+ - Use actual_x() to calculate the number of characters VERMSG
+ takes up, in case it's UTF-8. (DLR)
do_help()
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
if (COLS > 4) {
/* The version message should only take up 1/3 of the screen
* minus one column. */
- mvwaddnstr(topwin, 0, 2, VERMSG, (COLS / 3) - 3);
+ mvwaddnstr(topwin, 0, 2, VERMSG, actual_x(VERMSG,
+ (COLS / 3) - 3));
waddstr(topwin, " ");
}