diff options
author | Nicholas Noll <nnoll523@gmail.com> | 2020-06-26 16:11:15 +0200 |
---|---|---|
committer | Nicholas Noll <nnoll523@gmail.com> | 2020-06-26 16:11:15 +0200 |
commit | 63424e9709751108c564f884cb4fdffab77c933d (patch) | |
tree | 6d9eb9e94e2fc553852ffce39f43201c005151c1 /sys/cmd/term/term.h | |
parent | 641ea1557ccc0099ef5471a16503938bd00924af (diff) |
patched term to allow for arbitrary sizes
Diffstat (limited to 'sys/cmd/term/term.h')
-rw-r--r-- | sys/cmd/term/term.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/cmd/term/term.h b/sys/cmd/term/term.h index 3c7e3ca..11c28c7 100644 --- a/sys/cmd/term/term.h +++ b/sys/cmd/term/term.h @@ -228,12 +228,13 @@ typedef struct { typedef struct TermWindow TermWindow; struct TermWindow { - int tw, th; /* tty width and height */ - int w, h; /* window width and height */ - int ch; /* char height */ - int cw; /* char width */ - int mode; /* window state/mode flags */ - int cursor; /* cursor style */ + int tw, th; /* tty width and height */ + int w, h; /* window width and height */ + int hb, vb; /* horizontal and vertical border (in pix) */ + int ch; /* char height */ + int cw; /* char width */ + int mode; /* window state/mode flags */ + int cursor; /* cursor style */ }; /* used for user hooks */ |