spelling and typo fixes

Submitted for 3.7.0; all but one also apply to 3.6.3.

I rewrote the curses terminal-too-small message instead of just
fixing the spelling of "minumum".
This commit is contained in:
PatR
2019-12-11 12:35:45 -08:00
parent 850d37b47f
commit 8a57029503
12 changed files with 18 additions and 14 deletions
+5 -2
View File
@@ -211,8 +211,11 @@ curses_init_nhwindows(int *argcp UNUSED,
getmaxyx(base_term, term_rows, term_cols);
counting = FALSE;
curses_init_options();
if ((term_rows < 15) || (term_cols < 40)) {
panic("Terminal too small. Must be minumum 40 width and 15 height");
if (term_rows < 15 || term_cols < 40) {
panic("Terminal is too small; must have at least %s%s%s.",
(term_rows < 15) ? "15 rows" : "",
(term_rows < 15 && term_cols < 40) ? " and " : "",
(term_cols < 40) ? "40 columns" : "");
}
/* during line input, deletes the most recently typed character */
erase_char = erasechar(); /* <delete>/<rubout> or possibly <backspace> */