zsh-users
 help / color / mirror / code / Atom feed
* vared does not see last history event
@ 1995-08-08 14:37 Alex Ramos
  0 siblings, 0 replies; only message in thread
From: Alex Ramos @ 1995-08-08 14:37 UTC (permalink / raw)
  To: zsh-users


The following code does not behave as one would normally expect:

        while vared -c -p 'zsql> ' sql
        do
           print -s $sql
	   echo "your input was = $sql"
	   unset sql
	done

It seems that 'vared' never sees the most recent event in the
history list, i.e. you have to enter a dummy line before you can
edit the one you just entered. (to see what I'm talking about, run
the above, input anything, then up-arrow/enter, then up-arrow/enter
again).

Is this a bug, or a configuration option?

thanks,
-- 
Alex Ramos


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-08-08 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-08 14:37 vared does not see last history event Alex Ramos

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).