From 604c837c3d55b17b7e02353df7458d572ce71255 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Wed, 1 Jul 2015 14:22:56 +0300
Subject: [PATCH] Use INPUT_LAST_TEXT for a few more input boxes.
---
src/editor/editcmd.c | 2 +-
src/filemanager/cmd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c
index ea9f49f..fe0f268 100644
a
|
b
|
edit_ext_cmd (WEdit * edit) |
3219 | 3219 | |
3220 | 3220 | exp = |
3221 | 3221 | input_dialog (_("Paste output of external command"), |
3222 | | _("Enter shell command(s):"), MC_HISTORY_EDIT_PASTE_EXTCMD, NULL, |
| 3222 | _("Enter shell command(s):"), MC_HISTORY_EDIT_PASTE_EXTCMD, INPUT_LAST_TEXT, |
3223 | 3223 | INPUT_COMPLETE_FILENAMES | INPUT_COMPLETE_VARIABLES | INPUT_COMPLETE_USERNAMES |
3224 | 3224 | | INPUT_COMPLETE_HOSTNAMES | INPUT_COMPLETE_CD | INPUT_COMPLETE_COMMANDS | |
3225 | 3225 | INPUT_COMPLETE_SHELL_ESC); |
diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c
index d824c3f..697587f 100644
a
|
b
|
nice_cd (const char *text, const char *xtext, const char *help, |
427 | 427 | return; |
428 | 428 | |
429 | 429 | machine = |
430 | | input_dialog_help (text, xtext, help, history_name, "", strip_password, |
| 430 | input_dialog_help (text, xtext, help, history_name, INPUT_LAST_TEXT, strip_password, |
431 | 431 | INPUT_COMPLETE_FILENAMES | INPUT_COMPLETE_CD | INPUT_COMPLETE_HOSTNAMES | |
432 | 432 | INPUT_COMPLETE_USERNAMES); |
433 | 433 | if (machine == NULL) |