Go into Settings and uncheck Display Executed Code in REPL. This does indeed suppress display of code sent from an editor but now if you type any code into the REPL directly and press shift-enter, after executing the code and displaying the result, the code you typed is redisplayed in the input field (and pressing shift-enter will re-execute it).
This means you need to select and delete each expression after execution.
This does not happen when Display Executed Code in REPL is checked.
Go into Settings and uncheck Display Executed Code in REPL. This does indeed suppress display of code sent from an editor but now if you type any code into the REPL directly and press shift-enter, after executing the code and displaying the result, the code you typed is redisplayed in the input field (and pressing shift-enter will re-execute it).
This means you need to select and delete each expression after execution.
This does not happen when Display Executed Code in REPL is checked.