[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] patch to files.c:do_insertfile

From: Chris Allegretta
Subject: Re: [Nano-devel] patch to files.c:do_insertfile
Date: Fri, 29 Mar 2002 10:19:57 -0500
User-agent: Mutt/1.3.25i

On Thu, Mar 28, 2002 at 05:29:41AM -0500, David Benbennick wrote:
> With nano -F, open a file, then do ^R (read file), ^X (execute command),
> ^C (cancel).
> Now ^L to refresh will blank the screen and lose the file.
> The problem was that do_insertfile was calling new_file() even though the
> piping was cancelled.  A patch is attached.

Credited and committed (modified version, I'd rather duplicate code than
use a goto :-)

Chris A
Chris Allegretta

"Share and Enjoy" - Douglas Adams, 1952 - 2001

reply via email to

[Prev in Thread] Current Thread [Next in Thread]