⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module cjk

Module cjk 

Source
Expand description

CJK Unicode / Wide Character Support

Wide character detection, double-width cell rendering, and IME framework.

Structs§

ImeCandidate
A candidate in the IME candidate list.
InputMethodEditor
Input Method Editor framework.

Enums§

CellContent
Double-width cell renderer helper.
ImeState
Input Method Editor (IME) state.

Functions§

char_width
Get the display width of a character in terminal cells.
is_cjk_wide
Check if a character is a CJK wide character (occupies 2 cells).
string_width
Calculate the display width of a string in terminal cells.
truncate_to_width
Truncate a string to fit within max_width terminal cells. Appends “…” if truncated.