root-project / cling

The cling C++ interpreter
Other
3.51k stars 270 forks source link

cling behaving poorly in emacs eshell and comint (or when TERM=dumb?) #481

Open Inc0n opened 1 year ago

Inc0n commented 1 year ago
Inc0n commented 1 year ago

Here is some additional information (raw output inside emacs comint cling ):

[cling]$ 1
1^[[D1
(int) 1
[cling]$ 12
1^[[D12^[[D^[[D12
(int) 12
[cling]$ 123
1^[[D12^[[D^[[D123^[[D^[[D^[[D123
(int) 123
SimeonEhrig commented 1 year ago

I can confirm the behavior but I have no idea why. I switched to another terminal like term.