Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

^C shouldn't occur in history #501

Open
Freed-Wu opened this issue Mar 31, 2023 · 0 comments
Open

^C shouldn't occur in history #501

Freed-Wu opened this issue Mar 31, 2023 · 0 comments
Labels

Comments

@Freed-Wu
Copy link

To Reproduce

  1. Enter cling
  2. Press #include <string.h>, then type <C-C>
  3. type <C-D> to exit cling
  4. Enter cling again
  5. 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

  1. Cling version 0.9
  2. Operating system 6.2.7-arch1-1
  3. How you obtained Cling, such as with cpt.py (also mention flags) / you built it yourself.
    pacman

Additional context

@Freed-Wu Freed-Wu added the bug label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant