diff --git a/x11/contour/files/patch-src_vtbackend_Line.cpp b/x11/contour/files/patch-src_vtbackend_Line.cpp new file mode 100644 index 000000000000..994dcac63271 --- /dev/null +++ b/x11/contour/files/patch-src_vtbackend_Line.cpp @@ -0,0 +1,11 @@ +--- src/vtbackend/Line.cpp.orig 2026-02-18 12:56:38 UTC ++++ src/vtbackend/Line.cpp +@@ -174,7 +174,7 @@ InflatedLineBuffer inflate(TrivialLineBuffer con + auto const nextChar = + holds_alternative(r) ? get(r).value : ReplacementCharacter; + +- if (unicode::grapheme_segmenter::breakable(lastChar, nextChar)) ++ if (unicode::grapheme_segmenter::is_breakable(lastChar, nextChar)) + { + while (gapPending > 0) + { diff --git a/x11/contour/files/patch-src_vtbackend_Screen.cpp b/x11/contour/files/patch-src_vtbackend_Screen.cpp new file mode 100644 index 000000000000..dcf811f8a608 --- /dev/null +++ b/x11/contour/files/patch-src_vtbackend_Screen.cpp @@ -0,0 +1,11 @@ +--- src/vtbackend/Screen.cpp.orig 2026-02-18 12:52:30 UTC ++++ src/vtbackend/Screen.cpp +@@ -544,7 +544,7 @@ void Screen::writeTextInternal(char32_t sourceCo + + char32_t const codepoint = _cursor.charsets.map(sourceCodepoint); + +- if (unicode::grapheme_segmenter::breakable(_terminal->parser().precedingGraphicCharacter(), codepoint)) ++ if (unicode::grapheme_segmenter::is_breakable(_terminal->parser().precedingGraphicCharacter(), codepoint)) + { + writeCharToCurrentAndAdvance(codepoint); + } diff --git a/x11/contour/files/patch-src_vtbackend_ViCommands.cpp b/x11/contour/files/patch-src_vtbackend_ViCommands.cpp new file mode 100644 index 000000000000..2485cb9cf80f --- /dev/null +++ b/x11/contour/files/patch-src_vtbackend_ViCommands.cpp @@ -0,0 +1,21 @@ +--- src/vtbackend/ViCommands.cpp.orig 2026-02-18 13:01:13 UTC ++++ src/vtbackend/ViCommands.cpp +@@ -34,12 +34,12 @@ namespace + // + // TODO: The punctuation test is highly inefficient. Adapt libunicode to allow O(1) access to these. + return (codepoint > 255 +- && !(unicode::general_category::space_separator(codepoint) +- || unicode::general_category::initial_punctuation(codepoint) +- || unicode::general_category::final_punctuation(codepoint) +- || unicode::general_category::open_punctuation(codepoint) +- || unicode::general_category::close_punctuation(codepoint) +- || unicode::general_category::dash_punctuation(codepoint))) ++ && !(unicode::general_category::is_space_separator(codepoint) ++ || unicode::general_category::is_initial_punctuation(codepoint) ++ || unicode::general_category::is_final_punctuation(codepoint) ++ || unicode::general_category::is_open_punctuation(codepoint) ++ || unicode::general_category::is_close_punctuation(codepoint) ++ || unicode::general_category::is_dash_punctuation(codepoint))) + || (192 <= codepoint && codepoint <= 255); + } +