-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-135883: Fix sqlite3 CLI keeps part of previous commands when scrolling history #135884
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
Merged
erlend-aasland
merged 17 commits into
python:main
from
tanloong:fix-keeping-part-of-previous-commands
Mar 3, 2026
+15
−6
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1a98aa3
Fix keeping part of previous commands when scrolling history
tanloong 609f8b0
blurb add
tanloong 7c1c2ab
fix test
tanloong cf89e53
improve news entry
tanloong 598489f
Merge branch 'main' into fix-keeping-part-of-previous-commands
tanloong bebca3e
add comment about \001 and \002'
tanloong f34a268
Merge branch 'fix-keeping-part-of-previous-commands' of https://githu…
tanloong d71ca98
Revert "add comment about \001 and \002'"
tanloong b657a1f
add comment about \001 and \002
tanloong 608543c
Remove the conditional
tanloong e920a69
Merge branch 'main' into fix-keeping-part-of-previous-commands
tanloong ff4bcf6
Fix tests
tanloong 06cf0a7
Add comment why use plain prompt for test assertion in test_cli.Compl…
tanloong c71bb45
Update Lib/test/test_sqlite3/test_cli.py
tanloong 93ba713
Update Lib/sqlite3/__main__.py
tanloong 212e63b
Drop link from comment
tanloong 776af90
Merge branch 'fix-keeping-part-of-previous-commands' of https://githu…
tanloong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2025-06-24-19-07-18.gh-issue-135883.38cePA.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Fix :mod:`sqlite3`'s :ref:`interactive shell <sqlite3-cli>` keeping part of | ||
| previous commands when scrolling history. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.