diff --git a/basis/ui/gadgets/editors/editors.factor b/basis/ui/gadgets/editors/editors.factor index 3753e98a8a..856795e4ed 100644 --- a/basis/ui/gadgets/editors/editors.factor +++ b/basis/ui/gadgets/editors/editors.factor @@ -356,7 +356,7 @@ M: editor gadget-text* editor-string % ; [ drop dup extend-selection dup mark>> click-loc ] [ select-elt ] if ; -: insert-newline ( editor -- ) "\n" swap user-input* ; +: insert-newline ( editor -- ) "\n" swap user-input* drop ; : delete-next-character ( editor -- ) T{ char-elt } editor-delete ; diff --git a/basis/ui/tools/interactor/interactor.factor b/basis/ui/tools/interactor/interactor.factor index 94aa878942..5739a469ea 100644 --- a/basis/ui/tools/interactor/interactor.factor +++ b/basis/ui/tools/interactor/interactor.factor @@ -164,7 +164,7 @@ M: interactor dispose drop ; : handle-interactive ( lines interactor -- quot/f ? ) tuck try-parse { { [ dup quotation? ] [ nip t ] } - { [ dup not ] [ drop "\n" swap user-input* f f ] } + { [ dup not ] [ drop "\n" swap user-input* drop f f ] } [ handle-parse-error f f ] } cond ; diff --git a/basis/ui/tools/listener/listener.factor b/basis/ui/tools/listener/listener.factor index bf62f5372d..1fe2d8eb24 100644 --- a/basis/ui/tools/listener/listener.factor +++ b/basis/ui/tools/listener/listener.factor @@ -101,7 +101,7 @@ M: engine-word word-completion-string : insert-word ( word -- ) get-workspace listener>> input>> - [ >r word-completion-string r> user-input* ] + [ >r word-completion-string r> user-input* drop ] [ interactor-use use-if-necessary ] 2bi ;