From 93ff1074e538a1d60a04d79a3628d598d301e02e Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Mon, 19 Aug 2013 19:58:31 -0600 Subject: * Automatically redraw screen after opening an attachment instead of simply clearing it. --- .gitignore | 1 + alpine/signal.c | 8 ++++++-- pith/pine.hlp | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f2c9c9ca..e7615fed 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ autom4te.*/* Make* make* +pinerc* alpine pico rpdump diff --git a/alpine/signal.c b/alpine/signal.c index 1e027e51..681c16fd 100644 --- a/alpine/signal.c +++ b/alpine/signal.c @@ -591,8 +591,10 @@ pipe_callback(PIPE_S *syspipe, int flags, void *data) ps_global->mangled_screen = 1; } - if(syspipe->mode & PIPE_RESET) + if(syspipe->mode & PIPE_RESET){ ttyfix(1); + ps_global->mangled_screen = 1; + } #ifdef SIGCHLD (void) signal(SIGCHLD, SIG_DFL); @@ -644,8 +646,10 @@ pipe_callback(PIPE_S *syspipe, int flags, void *data) #endif } else if(flags & OSB_POST_CLOSE){ - if(syspipe->mode & PIPE_RESET) /* restore our tty modes */ + if(syspipe->mode & PIPE_RESET){ /* restore our tty modes */ ttyfix(1); + ps_global->mangled_screen = 1; + } if(!(syspipe->mode & (PIPE_WRITE | PIPE_READ | PIPE_SILENT))){ ClearScreen(); /* No I/O to forked child */ diff --git a/pith/pine.hlp b/pith/pine.hlp index 73400f09..ab059824 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 24 2013-08-18 01:59:22 +Alpine Commit 25 2013-08-19 19:58:19 ============= h_news ================= @@ -180,6 +180,8 @@ Additions include:

-- cgit v1.2.3-54-g00ecf