pub(super) fn divmod(x: usize, y: usize) -> (usize, usize) {
(x / y, x % y)
}
#[cfg(feature = "unicode")]
pub(super) fn len(text: &str) -> usize {
unicode_width::UnicodeWidthStr::width(text)
}
#[cfg(not(feature = "unicode"))]
pub(super) fn len(text: &str) -> usize {
text.chars().count()
}