MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / prevChar

Function prevChar

tools/shell/linenoise.cpp:3118–3120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3116}
3117
3118static uint32_t prevChar(struct linenoiseState* l) {
3119 return Utf8Proc::previousGraphemeCluster(l->buf, l->len, l->pos);
3120}
3121
3122static uint32_t nextChar(struct linenoiseState* l) {
3123 return utf8proc_next_grapheme(l->buf, l->len, l->pos);

Callers 4

linenoiseEditMoveLeftFunction · 0.85
linenoiseEditBackspaceFunction · 0.85
linenoiseEditFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected