From 63424e9709751108c564f884cb4fdffab77c933d Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 26 Jun 2020 16:11:15 +0200 Subject: patched term to allow for arbitrary sizes --- sys/cmd/term/term.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys/cmd/term/term.h') 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 */ -- cgit v1.2.1