-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Prompt text in sqlite3 CLI (new in 3.12) is Linux oriented and doesn't apply to Windows #102628
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
Comments
I corrected
EDIT: A complication is that ^D is correct for IDLE even on Windows. I have no idea what would be correct for other IDEs. |
Perhaps the easiest thing to do would be to adjust the banner depending on which platform we're running on. For *nix, we can recommend CTRL-D, for Windows, we can recommend CTRL-Z. |
CTRL-Z is the Windows equivalent of CTRL-D.
The prompt will still be incorrect in IDLE on Windows, as IDLE uses CTRL-D for EOF on all platforms.
Reopening, as the prompt is still incorrect in IDLE on Windows. |
Bug report
The command line command
python3.12 -m sqlite3
gives a prompt stating "[...]Type ".help" for more information; type ".quit" or CTRL-D to quit."But on Windows, the Unixism
CTRL-D
doesn't work (instead, and after adding ";" and "ENTER", it reports: "OperationalError (SQLITE_ERROR): unrecognized token: "♦"" );CTRL-Z
does work on Windows (but not on Linux, I guess).Request to clarify the prompt.
Environment
Linked PRs
The text was updated successfully, but these errors were encountered: