From bf144ceca6285af5ce9f64f1176cb104f78b9637 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 21 Nov 2022 23:59:14 +0000 Subject: Add --clip-to-padding option. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index f9291ee..689e824 100644 --- a/src/main.c +++ b/src/main.c @@ -832,6 +832,7 @@ const struct option long_options[] = { {"padding-bottom", required_argument, NULL, 0}, {"padding-left", required_argument, NULL, 0}, {"padding-right", required_argument, NULL, 0}, + {"clip-to-padding", required_argument, NULL, 0}, {"horizontal", required_argument, NULL, 0}, {"hide-cursor", required_argument, NULL, 0}, {"history", required_argument, NULL, 0}, @@ -1063,6 +1064,7 @@ int main(int argc, char *argv[]) .padding_bottom = 8, .padding_left = 8, .padding_right = 8, + .clip_to_padding = true, .border_width = 12, .outline_width = 4, .background_color = {0.106f, 0.114f, 0.118f, 1.0f}, -- cgit v1.2.3