mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 05:42:03 +03:00
Allow omitting window_padding fields
Closes: https://github.com/wez/wezterm/issues/85
This commit is contained in:
parent
0e568ea161
commit
ba2caa815d
@ -490,9 +490,13 @@ impl DefaultCursorStyle {
|
||||
|
||||
#[derive(Default, Deserialize, Clone, Copy, Debug)]
|
||||
pub struct WindowPadding {
|
||||
#[serde(default)]
|
||||
pub left: u16,
|
||||
#[serde(default)]
|
||||
pub top: u16,
|
||||
#[serde(default)]
|
||||
pub right: u16,
|
||||
#[serde(default)]
|
||||
pub bottom: u16,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user