-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Reworking scan API for more generic (re-)use #78
Open
christianparpart
wants to merge
3
commits into
master
Choose a base branch
from
rework-scan-api
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
christianparpart
force-pushed
the
rework-scan-api
branch
3 times, most recently
from
September 18, 2023 21:52
35cd8b1
to
7da3728
Compare
christianparpart
changed the title
Reworking scan API
Reworking scan API for more generic (re-)use
Sep 19, 2023
christianparpart
force-pushed
the
rework-scan-api
branch
from
October 2, 2023 20:39
7da3728
to
f9c0def
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
11 times, most recently
from
December 30, 2023 23:10
d071442
to
4df5e91
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
from
February 21, 2024 22:55
4df5e91
to
8cce1c4
Compare
github-actions
bot
added
the
documentation
Improvements or additions to documentation
label
Feb 21, 2024
christianparpart
force-pushed
the
rework-scan-api
branch
2 times, most recently
from
March 1, 2024 20:31
42230ef
to
3f32345
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
9 times, most recently
from
March 5, 2024 19:58
a97b51e
to
8c22d69
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
10 times, most recently
from
March 11, 2024 21:09
406b4af
to
dabfea4
Compare
This was referenced Mar 17, 2024
christianparpart
force-pushed
the
rework-scan-api
branch
from
March 17, 2024 10:46
dabfea4
to
e67aa17
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
from
March 17, 2024 10:53
e67aa17
to
ffb35d3
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
from
March 17, 2024 11:13
ffb35d3
to
238362e
Compare
…esets Signed-off-by: Christian Parpart <[email protected]>
christianparpart
force-pushed
the
rework-scan-api
branch
6 times, most recently
from
April 5, 2024 22:02
09cc6a2
to
cb0eb30
Compare
christianparpart
force-pushed
the
rework-scan-api
branch
from
April 10, 2024 05:47
cb0eb30
to
f8543bf
Compare
…g scan API Signed-off-by: Christian Parpart <[email protected]>
christianparpart
force-pushed
the
rework-scan-api
branch
from
May 23, 2024 20:13
3f9ba36
to
fbb4a9d
Compare
Yaraslaut
force-pushed
the
rework-scan-api
branch
from
July 25, 2024 06:01
5703821
to
3b705a5
Compare
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.
This API arises from the need of scanning well defined grapheme clusters (in terms of width) in a terminal grid (for Contour Terminal). The problem so far was that there were two individual code paths doing the same thing. One for fast scanning text on regular print, and a second one when assigning each individual grapheme cluster to a grid cell.
This PR aims to make sure the same code path can be used for both use cases as well as properly handling arbitrary binary (invalid UTF-8 sequences) text.