static short InHelp = 0;
-#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
+#if defined (HAVE_RESIZETERM)
static struct resize {
int line;
int SearchCompiled;
/* display the line */
format_line (lineInfo, n, buf, flags, &a, cnt, &ch, &vch, &col, &special);
- /* avoid a bug in ncurses... */
-#ifndef USE_SLANG_CURSES
- if (col == 0) {
- SETCOLOR (MT_COLOR_NORMAL);
- addch (' ');
- }
-#endif
-
/* end the last color pattern (needed by S-Lang) */
if (special || (col != COLS && (flags & (M_SHOWCOLOR | M_SEARCH))))
resolve_color (*lineInfo, n, vch, flags, 0, &a);
bkgdset (def_color | ' ');
#endif
}
-
- /* ncurses always wraps lines when you get to the right side of the
- * screen, but S-Lang seems to only wrap if the next character is *not*
- * a newline (grr!).
- */
-#ifndef USE_SLANG_CURSES
- if (col < COLS)
-#endif
- addch ('\n');
+ addch ('\n');
/*
* reset the color back to normal. This *must* come after the
SETCOLOR (MT_COLOR_NORMAL);
}
-#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
+#if defined (HAVE_RESIZETERM)
if (Resize != NULL) {
if ((SearchCompiled = Resize->SearchCompiled)) {
REGCOMP
mutt_query_exit ();
continue;
}
-#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
+#if defined (HAVE_RESIZETERM)
else if (SigWinch) {
mutt_resize_screen ();