Skip to content
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
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Sep 6, 2023

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.

@christianparpart christianparpart force-pushed the rework-scan-api branch 3 times, most recently from 35cd8b1 to 7da3728 Compare September 18, 2023 21:52
@christianparpart christianparpart changed the title Reworking scan API Reworking scan API for more generic (re-)use Sep 19, 2023
@christianparpart christianparpart force-pushed the rework-scan-api branch 11 times, most recently from d071442 to 4df5e91 Compare December 30, 2023 23:10
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 21, 2024
@christianparpart christianparpart force-pushed the rework-scan-api branch 2 times, most recently from 42230ef to 3f32345 Compare March 1, 2024 20:31
@christianparpart christianparpart force-pushed the rework-scan-api branch 9 times, most recently from a97b51e to 8c22d69 Compare March 5, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants