aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
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 */