1
//! The right part of the status bar: the short user and the keymap indicator.
2

            
3
use sqlx::types::Uuid;
4

            
5
1325
pub(super) fn status_tail(user: Uuid, indicator: &str) -> String {
6
1325
    let user = user.to_string();
7
1325
    format!("user={}  {indicator}", user.get(..8).unwrap_or_default())
8
1325
}
9

            
10
#[cfg(test)]
11
mod tests;