[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [RFC] Re-execute last command
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [RFC] Re-execute last command |
Date: |
Sat, 7 Oct 2017 21:21:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Op 7-10-2017 om 09:44 schreef Brand Huntsman:
On Sat, 7 Oct 2017 01:51:35 -0300 Marco Diego Aurélio Mesquita
<address@hidden> wrote:
Showing that last command in the current execute prompt was rejected. Don't
know if it would be accepted if it was disabled by default and only enabled
through a setting in nanorc.
Also rejected. I don't want another setting in the nanorc file.
I think what was rejected was showing it in the prompt like search does:
"Search [foo]:"
For execute it would look something like:
"Command to execute [from ./] [the last command here]:"
You are using an older version of nano: the "[from ./]" has been gone
from the Execute prompt since version 2.7.5.
Leaving very little room to type a new command. What I suggest is switching to
the last command as if it had been selected from history with the up arrow.
"Command to execute [from ./]: the last command here"
That would piss me off royally: that I first have to *clear* what nano
"helpfully" suggests that I want to execute. Hrrr!
The down arrow would clear the prompt just as it does now.
Unintuitive. A newbie would resort to holding down Backspace, and would
think that nano is crapware.
Benno
Re: [Nano-devel] [RFC] Re-execute last command, Benno Schulenberg, 2017/10/07