mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
parent
43ea180d8e
commit
56097de74e
1 changed files with 11 additions and 2 deletions
|
@ -131,7 +131,12 @@ impl Cursor {
|
|||
#[derive(Deserialize, Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub enum ConfigCursorStyle {
|
||||
Shape(CursorShape),
|
||||
WithBlinking { shape: CursorShape, blinking: CursorBlinking },
|
||||
WithBlinking {
|
||||
#[serde(default)]
|
||||
shape: CursorShape,
|
||||
#[serde(default)]
|
||||
blinking: CursorBlinking,
|
||||
},
|
||||
}
|
||||
|
||||
impl Default for ConfigCursorStyle {
|
||||
|
@ -195,7 +200,11 @@ impl Into<bool> for CursorBlinking {
|
|||
#[derive(Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||
pub enum Program {
|
||||
Just(String),
|
||||
WithArgs { program: String, args: Vec<String> },
|
||||
WithArgs {
|
||||
program: String,
|
||||
#[serde(default)]
|
||||
args: Vec<String>,
|
||||
},
|
||||
}
|
||||
|
||||
impl Program {
|
||||
|
|
Loading…
Reference in a new issue