1
1
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:
Wez Furlong 2019-12-27 09:58:51 -08:00
parent 0e568ea161
commit ba2caa815d

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,
}