diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 19:08:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 19:08:08 +0000 |
| commit | 3d2ab03f6220e967796e6d885946c916cae9e238 (patch) | |
| tree | 7c52a2db9b39163c5ae81fa400ad8ba3bf970c37 /terminal.h | |
| parent | Rename grid_* functions to term_* (diff) | |
terminal: move col/row count, cell width/height and scroll region to terminal
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -56,13 +56,6 @@ struct damage { }; struct grid { - int cols; - int rows; - int cell_width; - int cell_height; - - struct scroll_region scroll_region; - int linear_cursor; struct { int row; @@ -151,6 +144,14 @@ struct terminal { struct vt vt; struct grid grid; struct kbd kbd; + + int cols; + int rows; + int cell_width; + int cell_height; + + struct scroll_region scroll_region; + }; void term_damage_all(struct terminal *term); |
