summaryrefslogtreecommitdiff
path: root/pith/conf.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-04-17 20:26:24 -0600
committerEduardo Chappa <chappa@washington.edu>2021-04-17 20:26:24 -0600
commitf6519aa1448e62a757d43e57cabd081ab594dfb1 (patch)
treeb6c26d4c05ab72115b67cce3d415d173aa96fbbd /pith/conf.c
parente3a9185691280e37a20389c8477b1636e4ac9bf9 (diff)
downloadalpine-f6519aa1448e62a757d43e57cabd081ab594dfb1.tar.xz
* Add new hidden feature "Enable Delete Before Writing" that makes Alpine
delete a line before overwriting it. It is meant to work around bugs in terminals that need it. Work in collaboration with professor Martin Trusler.
Diffstat (limited to 'pith/conf.c')
-rw-r--r--pith/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/conf.c b/pith/conf.c
index 44854f48..e8904e45 100644
--- a/pith/conf.c
+++ b/pith/conf.c
@@ -3386,6 +3386,8 @@ feature_list(int index)
F_DISABLE_SHARED_NAMESPACES, h_config_disable_shared, PREF_HIDDEN, 0},
{"disable-signature-edit-cmd", NULL,
F_DISABLE_SIGEDIT_CMD, h_config_disable_signature_edit, PREF_HIDDEN, 0},
+ {"enable-delete-before-writing", NULL,
+ F_ENABLE_DEL_WHEN_WRITING, h_config_delete_before_writing, PREF_HIDDEN, 0},
{"new-thread-on-blank-subject", "New Thread on Blank Subject",
F_NEW_THREAD_ON_BLANK_SUBJECT, h_config_new_thread_blank_subject, PREF_HIDDEN, 1},
{"quell-personal-name-prompt", NULL,