From 435e0fb79416aa764cb4f1b197ecbe24887f3de4 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sat, 15 May 2010 16:18:23 +0000 Subject: Make the output width an option for ascii_alloc and use that to compute the default margin. Hard-code 80 chars/line for now. --- term.h | 1 + 1 file changed, 1 insertion(+) (limited to 'term.h') diff --git a/term.h b/term.h index 62da4174..b0df752f 100644 --- a/term.h +++ b/term.h @@ -32,6 +32,7 @@ enum termfont { #define TERM_MAXMARGIN 100000 /* FIXME */ struct termp { + size_t defrmargin; /* Right margin of the device.. */ size_t rmargin; /* Current right margin. */ size_t maxrmargin; /* Max right margin. */ size_t maxcols; /* Max size of buf. */ -- cgit