pub struct Ui {Show 18 fields
pub theme: Option<String>,
pub status_format: Option<String>,
pub beep: bool,
pub beep_new: bool,
pub wait_key: Option<bool>,
pub set_title: Option<bool>,
pub title_format: Option<String>,
pub history_file: Option<String>,
pub status_on_top: Option<bool>,
pub arrow_cursor: Option<bool>,
pub menu_scroll: Option<bool>,
pub menu_context: usize,
pub menu_move_off: Option<bool>,
pub help: Option<bool>,
pub sort_browser: Option<String>,
pub error_history: usize,
pub status_chars: Option<String>,
pub save_history: Option<usize>,
}Fields§
§theme: Option<String>§status_format: Option<String>mutt’s status_format for the bottom line (see format::DEFAULT_STATUS_FORMAT for the specifiers).
beep: boolRing the terminal bell on error statuses (mutt’s $beep).
beep_new: boolmutt’s $beep_new: ring it when mail arrives, too. Off by default, as in mutt.
wait_key: Option<bool>mutt’s $wait_key: a shell escape ends with “Press Enter to continue”, so whatever it printed can be read before the index paints over it. True unless set otherwise, as in mutt.
set_title: Option<bool>mutt’s $ts_enabled: set the terminal title (and icon) while running. Off by default, as in mutt.
title_format: Option<String>mutt’s $ts_status_format: the title’s format, the same specifiers as status_format. Defaults to “rmut: %f”.
history_file: Option<String>mutt’s $history_file: where prompt history persists across sessions. Unset means in-memory only, as rmut was before.
status_on_top: Option<bool>mutt’s $status_on_top: the status bar (and message line) sit at the top, under the help bar, rather than the bottom. Off by default, as in mutt.
arrow_cursor: Option<bool>mutt’s $arrow_cursor: mark the selected row with an arrow instead of reverse video. Off by default, as in mutt.
mutt’s $menu_scroll: the index scrolls a line at a time when the cursor leaves the screen; false shows the next page instead. On by default here (rmut always scrolled), where mutt pages.
mutt’s $menu_context: lines kept in view beyond the cursor when the index scrolls or pages. 0 by default.
mutt’s $menu_move_off: the last message may scroll up past the bottom of the screen; false keeps the index bottom-stuck once it fills the screen. True unless set otherwise.
help: Option<bool>mutt’s $help: the key-help bar on the top line. True unless set otherwise.
sort_browser: Option<String>mutt’s $sort_browser: the folder browser’s order: “alpha” (the default), “count” / “unread” (by new-mail count), “date” (by the maildir’s change time), “unsorted” (as configured, then as found). A “reverse-” prefix flips it. “size” reads as alpha.
error_history: usizemutt’s $error_history: how many past errors error-history shows. 0 disables it. 30 by default, as in mutt.
status_chars: Option<String>mutt’s $status_chars: the characters %r shows for the
mailbox state: [0] unchanged, [1] changed (needs sync), [2]
read-only. Unset keeps rmut’s own (nothing / * / %).
save_history: Option<usize>mutt’s $save_history: entries kept per history bucket in the file. Defaults to 100 (rmut’s in-memory cap).