summaryrefslogtreecommitdiffstats
path: root/browser.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-08-28 01:06:54 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-08-28 01:06:54 +0000
commit5d560c79021215192b74d7179445582bcb505154 (patch)
tree138f37f50e16184be0ec0e63c176b75bdd7f40c9 /browser.c
parent18fa8b3cee846a5df29f7c664b9b906cc13c4bd2 (diff)
[patch-0.94.4i.tlr.display_filename.1] Introduce a new
function "display-filename" which displays the currently selected file's name on the message line.
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/browser.c b/browser.c
index d1d67d3d..01854efe 100644
--- a/browser.c
+++ b/browser.c
@@ -631,6 +631,11 @@ void mutt_select_file (char *f, size_t flen, int buffy)
mutt_menuDestroy (&menu);
return;
+ case OP_BROWSER_TELL:
+ if(state.entrylen)
+ mutt_message(state.entry[menu->current].name);
+ break;
+
case OP_CHANGE_DIRECTORY:
strfcpy (buf, LastDir, sizeof (buf));