^C shouldn't occur in history
Freed-Wu opened this issue · 0 comments
Freed-Wu commented
To Reproduce
- Enter
cling
- Press
#include <string.h>
, then type<C-C>
- type
<C-D>
to exit cling - Enter
cling
again - type
<C-P><C-P>
to get the last input history
Expected behavior
#include <string.h>
Acctual behavior
#include <string.h>^C
$ cling
[cling]$ #include <string.h>^C
[cling]$ .q
$ cling
[cling]$ <C-P><C-P>
[cling]$ #include <string.h>^C
Setup
- Cling version 0.9
- Operating system 6.2.7-arch1-1
- How you obtained Cling, such as with cpt.py (also mention flags) / you built it yourself.
pacman