larsbrinkhoff / forth-mode

Wants to be the SLIME of Forth
GNU General Public License v3.0
61 stars 17 forks source link

Don't send output as input #26

Closed ellerh closed 7 years ago

ellerh commented 7 years ago

Use 'comint-output-filter instead of 'insert when inserting output. If text is inserted with a normal 'insert the text is included as as input the next time RET is pressed.

larsbrinkhoff commented 7 years ago

Cool, I was wondering how to fix that.

You changed the behaviour, though. Before, there was either a message, or an insertion. Now, it always inserts. Was that intentional?

ellerh commented 7 years ago

You changed the behaviour, though. Before, there was either a message, or an insertion. Now, it always inserts. Was that intentional?

Yes. I think it's more consistent this way.

larsbrinkhoff commented 7 years ago

Ok, thanks!