par-term-settings-ui 0.17.1

Settings UI for par-term terminal emulator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Per-tab state for the Profiles tab.

/// Dynamic profile source editor form state.
#[derive(Debug, Default)]
pub struct ProfilesTabState {
    /// Index of dynamic source currently being edited (None = not editing)
    pub dynamic_source_editing: Option<usize>,
    /// Temp copy of the source being edited
    pub dynamic_source_edit_buffer: Option<par_term_config::DynamicProfileSource>,
    /// Temp buffer for new header key being added
    pub dynamic_source_new_header_key: String,
    /// Temp buffer for new header value being added
    pub dynamic_source_new_header_value: String,
}