diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-09-20 19:20:54 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-09-20 19:20:54 -0600 |
commit | 23e421e7262fd5f7be2a68648234cf44eea1e289 (patch) | |
tree | 0b80d9a896c8405c973d87768d9c6f62580a8343 /pith | |
parent | 040d361422b6b5791678220366be2374107801b1 (diff) | |
download | alpine-23e421e7262fd5f7be2a68648234cf44eea1e289.tar.xz |
* When saving an attachment, the ^Y and ^V commands allow a user to scroll
through the history of directories used to save attachments, while
preserving the given name of the file. Suggested by Peter Koellner.
Diffstat (limited to 'pith')
-rw-r--r-- | pith/hist.c | 1 | ||||
-rw-r--r-- | pith/hist.h | 2 | ||||
-rw-r--r-- | pith/pine.hlp | 7 |
3 files changed, 7 insertions, 3 deletions
diff --git a/pith/hist.c b/pith/hist.c index 77a4b012..b980848c 100644 --- a/pith/hist.c +++ b/pith/hist.c @@ -49,7 +49,6 @@ free_hist(HISTORY_S **history) int i; if(history && *history){ - for(i = 0; i < (*history)->histsize; i++) if((*history)->hist[i] && (*history)->hist[i]->str) fs_give((void **) &(*history)->hist[i]->str); diff --git a/pith/hist.h b/pith/hist.h index 504b8ad4..f5a7165c 100644 --- a/pith/hist.h +++ b/pith/hist.h @@ -39,7 +39,6 @@ typedef struct history_s { #define HISTORY_DOWN_KEYNAME "Down" #define HISTORY_KEYLABEL N_("History") - void init_hist(HISTORY_S **, int); void free_hist(HISTORY_S **); char *get_prev_hist(HISTORY_S *, char *, unsigned, void *); @@ -48,6 +47,7 @@ void save_hist(HISTORY_S *, char *, unsigned, void *); int items_in_hist(HISTORY_S *); void add_to_histlist(HISTORY_S **); void free_histlist(void); +int dirs_in_hist(HISTORY_S *); #endif /* PITH_HIST_INCLUDED */ diff --git a/pith/pine.hlp b/pith/pine.hlp index 5d34e65b..79de8e6b 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 104 2015-09-19 12:51:36 +Alpine Commit 105 2015-09-20 19:20:48 ============= h_news ================= <HTML> <HEAD> @@ -275,6 +275,11 @@ Additions include: "A" command can be used to add a file. A directory can be added by pressing "^X" after the "A" command. Added after a suggestion by Stefan Goessling. + + <LI> When saving an attachment, the ^Y and ^V commands allow a user to + scroll through the history of directories used to save attachments, + while preserving the given name of the file. Suggested by Peter + Koellner. </UL> |