summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-08-19 19:58:31 -0600
committerEduardo Chappa <chappa@washington.edu>2013-08-19 19:58:31 -0600
commit93ff1074e538a1d60a04d79a3628d598d301e02e (patch)
tree876be5ef903e900520114793e92b3a87604ec98f
parentdd9bd7bac749b3908a406d78ce02fb7a39ef81c8 (diff)
downloadalpine-93ff1074e538a1d60a04d79a3628d598d301e02e.tar.xz
* Automatically redraw screen after opening an attachment instead of
simply clearing it.
-rw-r--r--.gitignore1
-rw-r--r--alpine/signal.c8
-rw-r--r--pith/pine.hlp4
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 =================
<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>