Allow omitting window_padding fields

Closes: https://github.com/wez/wezterm/issues/85
This commit is contained in:
Wez Furlong committed 2019-12-27 09:58:51 -08:00
1 parent 0e568ea161
commit ba2caa815d
1 file changed
+4
+4
View File
@@ -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,
}