pub fn set_history_capacity(n: usize)Expand description
Update the history buffer capacity at startup.
Values of 0 are allowed (disables history, last will print the
“no previous output” message). Existing entries beyond the new
capacity are dropped from the front (oldest first).