projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove support for antiquated ncurses libraries. Assume we have at least ncurses...
[apps/madmutt.git]
/
pager.c
diff --git
a/pager.c
b/pager.c
index
42abff6
..
5e64412
100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-108,13
+108,11
@@
typedef struct _ansi_attr {
static short InHelp = 0;
static short InHelp = 0;
-#if defined (HAVE_RESIZETERM)
static struct resize {
int line;
int SearchCompiled;
int SearchBack;
} *Resize = NULL;
static struct resize {
int line;
int SearchCompiled;
int SearchBack;
} *Resize = NULL;
-#endif
#define NumSigLines 4
#define NumSigLines 4
@@
-1440,7
+1438,6
@@
mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
SETCOLOR (MT_COLOR_NORMAL);
}
SETCOLOR (MT_COLOR_NORMAL);
}
-#if defined (HAVE_RESIZETERM)
if (Resize != NULL) {
if ((SearchCompiled = Resize->SearchCompiled)) {
REGCOMP
if (Resize != NULL) {
if ((SearchCompiled = Resize->SearchCompiled)) {
REGCOMP
@@
-1453,7
+1450,6
@@
mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
p_delete(&Resize);
}
p_delete(&Resize);
}
-#endif
if (IsHeader (extra) && PagerIndexLines) {
if (pager_index == NULL) {
if (IsHeader (extra) && PagerIndexLines) {
if (pager_index == NULL) {
@@
-1623,7
+1619,6
@@
mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
mutt_query_exit ();
continue;
}
mutt_query_exit ();
continue;
}
-#if defined (HAVE_RESIZETERM)
else if (SigWinch) {
mutt_resize_screen ();
else if (SigWinch) {
mutt_resize_screen ();
@@
-1667,7
+1662,6
@@
mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
clearok (stdscr, TRUE); /*force complete redraw */
continue;
}
clearok (stdscr, TRUE); /*force complete redraw */
continue;
}
-#endif
else if (ch == -1) {
ch = 0;
continue;
else if (ch == -1) {
ch = 0;
continue;