Hey,
I'm writing a comint mode for an interpreter called cling and I'm
getting an echo and concatenation of the input string, better explained
by example:
****************** CLING ******************
* Type C++ code and press enter to run it *
* Type .q to exit *
*******************************************
[cling]$ int i = 0;
iinintint int iint i int i =int i = int i = 0int i = 0;int i = 0;
[cling]$ i
ii
(int) 0
[cling]$