aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-24 17:47:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-24 17:47:08 +0000
commit01a11457a522b36fd22d46d2b539133f253ab187 (patch)
treeac37795ea39ee7417889a335effe03dc917b6349 /terminal.h
parentcsd: wip: something to get started... (diff)
parentsixel: CSI setters also write a reply to the client (diff)
Merge branch 'master' into csd
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 55311408..53fecf6b 100644
--- a/terminal.h
+++ b/terminal.h
@@ -237,8 +237,12 @@ struct terminal {
int scale;
int width; /* pixels */
int height; /* pixels */
- int x_margin;
- int y_margin;
+ struct {
+ int left;
+ int right;
+ int top;
+ int bottom;
+ } margins;
int cols; /* number of columns */
int rows; /* number of rows */
int cell_width; /* pixels per cell, x-wise */