diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-08-19 19:58:31 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-08-19 19:58:31 -0600 |
commit | 93ff1074e538a1d60a04d79a3628d598d301e02e (patch) | |
tree | 876be5ef903e900520114793e92b3a87604ec98f | |
parent | dd9bd7bac749b3908a406d78ce02fb7a39ef81c8 (diff) | |
download | alpine-93ff1074e538a1d60a04d79a3628d598d301e02e.tar.xz |
* Automatically redraw screen after opening an attachment instead of
simply clearing it.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | alpine/signal.c | 8 | ||||
-rw-r--r-- | pith/pine.hlp | 4 |
3 files changed, 10 insertions, 3 deletions
@@ -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 ================= <HTML> <HEAD> @@ -180,6 +180,8 @@ Additions include: <UL> <LI> Opening a folder updates recent count in maildrops. + <LI> Automatically redraw screen after opening an attachment instead of + simply clearing it. </UL> <P> |