zsh-workers
 help / color / mirror / code / Atom feed
* Oddity with reset-prompt and vared
@ 2010-08-03 20:30 Mikael Magnusson
  2010-08-12 19:56 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Mikael Magnusson @ 2010-08-03 20:30 UTC (permalink / raw)
  To: zsh workers

This is mostly out of curiosity, I've already worked around the
problem by checking $CONTEXT for vared before running reset-prompt
since it doesn't make sense anyway, but I noticed this happening

% zsh -f
% function a() { zle reset-prompt; zle .accept-line }
% zle -N accept-line a
% a=
% vared a
aoeua
% vared a
ちとしはき<press enter>
<the end of the string is replaced with spaces>
ち
%

If the cause of this isn't immediately obvious then I won't be sad if
no one investigates further, just thought I'd mention it.

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-13  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-03 20:30 Oddity with reset-prompt and vared Mikael Magnusson
2010-08-12 19:56 ` Peter Stephenson
2010-08-12 20:14   ` Mikael Magnusson
2010-08-13  8:48   ` Peter Stephenson

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).