You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in bash, python3 and pretty much all repls, ctrl C doesn't run the current entered line but also doesn't exit the repl, whereas ctrl D (when there is no input written) exits the REPL.
here, both ctrl C and ctrl D exit the REPL. How can we at least distinguish whether ctrl C or ctrl D was entered?
example
bash-3.2$ asdf # control C was entered here
bash-3.2$ asdf # control D was entered here
bash-3.2$ exit
The text was updated successfully, but these errors were encountered:
in bash, python3 and pretty much all repls, ctrl C doesn't run the current entered line but also doesn't exit the repl, whereas ctrl D (when there is no input written) exits the REPL.
here, both ctrl C and ctrl D exit the REPL. How can we at least distinguish whether ctrl C or ctrl D was entered?
example
The text was updated successfully, but these errors were encountered: