ui.tools.listener: call insert-newline directly.

db4
John Benediktsson 2011-10-16 13:39:15 -07:00
parent fb9612ef73
commit 470e0be3e1
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ M: object accept-completion-hook 2drop ;
: handle-interactive ( lines interactor -- quot/f ? )
[ nip ] [ try-parse ] 2bi {
{ [ dup quotation? ] [ nip t ] }
{ [ dup not ] [ drop "\n" swap user-input* drop f f ] }
{ [ dup not ] [ drop insert-newline f f ] }
[ handle-parse-error f f ]
} cond ;