diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-04-11 22:28:56 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-04-11 22:28:56 -0600 |
commit | 47206e18c8eec0c9c284cb71381ae85ce36b2a3a (patch) | |
tree | 9bd54b6d44a20deba364bce077059072f898b804 /alpine/confscroll.c | |
parent | b50297779a4becb9ceca9c6b5b375d526fe3df78 (diff) | |
download | alpine-47206e18c8eec0c9c284cb71381ae85ce36b2a3a.tar.xz |
* Remove sleep of 5 seconds for mailcap programs that use the terminal
to display content. Suggested by Carl Edquist. In addition to remove
configurable process table command and it corresponding sleep time.
Diffstat (limited to 'alpine/confscroll.c')
-rw-r--r-- | alpine/confscroll.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/alpine/confscroll.c b/alpine/confscroll.c index 85e364d8..44c02ca5 100644 --- a/alpine/confscroll.c +++ b/alpine/confscroll.c @@ -1561,10 +1561,6 @@ text_toolit(struct pine *ps, int cmd, CONF_S **cl, unsigned int flags, int look_ lowrange = 1; hirange = MAX_FILLCOL; } - else if((*cl)->var == &ps->vars[V_SLEEP]){ - lowrange = 60; - hirange = 600; - } else if((*cl)->var == &ps->vars[V_OVERLAP] || (*cl)->var == &ps->vars[V_MARGIN]){ lowrange = 0; @@ -5262,16 +5258,6 @@ fix_side_effects(struct pine *ps, struct variable *var, int revert) else ps->viewer_overlap = old_value; } - else if(var == &ps->vars[V_SLEEP]){ - int old_value = ps->sleep; - - if(SVAR_SLEEP(ps, old_value, tmp_20k_buf, SIZEOF_20KBUF)){ - if(!revert) - q_status_message(SM_ORDER, 3, 5, tmp_20k_buf); - } - else - ps->sleep = old_value; - } #ifdef SMIME else if(smime_related_var(ps, var)){ smime_deinit(); |