projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Andreas Krennmair:
[apps/madmutt.git]
/
enter.c
diff --git
a/enter.c
b/enter.c
index
356ab21
..
afc23f6
100644
(file)
--- a/
enter.c
+++ b/
enter.c
@@
-614,6
+614,12
@@
self_insert:
/* use the raw keypress */
ch = LastKey;
+ if ((ch == '.') && (flags & (M_FILE | M_EFILE)))
+ {
+ rv = 2;
+ goto bye;
+ }
+
#ifdef KEY_ENTER
/* treat ENTER the same as RETURN */
if (ch == KEY_ENTER)