Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1067 +/- ##
==========================================
- Coverage 76.51% 76.15% -0.37%
==========================================
Files 62 60 -2
Lines 8308 8631 +323
==========================================
+ Hits 6357 6573 +216
- Misses 1951 2058 +107 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When a formatted row contains combining marks, it can fit the terminal even though its Python length exceeds the number of columns. Printing
html.entities.html5can crash the Curtsies frontend while it paints that row.Keep the complete formatted row in the current display and history. When a completion box covers part of such a row, place it by terminal columns so the visible suffix keeps its combining marks.
Refs bpython/curtsies#173 and #1020.
Verified with Curtsies 0.4.3 in real tmux panes at 28, 88, and 101 columns. The original examples print and accept another command. Above-prompt completion keeps the text visible beside the box, including when a nearby line contains a tab. The local pytest suite passed 345 tests.
Prepared with AI assistance.