Skip to content

Commit

Permalink
The spellcheck happifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lhecker committed Jun 25, 2024
1 parent 623802a commit 8cfe171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/CodepointWidthDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ bool CodepointWidthDetector::_graphemeNextConsole(GraphemeState& s, const std::w
int delayedCompletion = 0;

// In order to conform to the behavior of _graphemeNext(), we need to pretend as if we don't know
// whether the cluster is complete yet (with graphemes there may be nonspacing marks, etc.).
// whether the cluster is complete yet (with graphemes there may be combining marks, etc.).
// As such, we flag `delayedCompletion` to true which gets stored as `s._state = 1` and return false.
// Then, when we get called again with the next input string, we'll finally return false with a `s.len` of 0.
if (s._state == 0)
Expand Down

0 comments on commit 8cfe171

Please sign in to comment.