Lines
100 %
Functions
Branches
//! The right part of the status bar: the short user and the keymap indicator.
use sqlx::types::Uuid;
pub(super) fn status_tail(user: Uuid, indicator: &str) -> String {
let user = user.to_string();
format!("user={} {indicator}", user.get(..8).unwrap_or_default())
}
#[cfg(test)]
mod tests;