pub struct TerminalOptions {
pub cols: u16,
pub rows: u16,
pub max_scrollback: usize,
}Expand description
Terminal initialization options.
Fields§
§cols: u16Terminal width in cells. Must be greater than zero.
rows: u16Terminal height in cells. Must be greater than zero.
max_scrollback: usizeMaximum number of lines to keep in scrollback history.
Trait Implementations§
Source§impl From<Options> for GhosttyTerminalOptions
impl From<Options> for GhosttyTerminalOptions
impl Copy for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more