From 6adf409de7c4eda9b16c15d90820919fcd5150c2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 23 Mar 2010 12:42:22 +0000 Subject: Fixed two very subtle bugs in retaining overstep and maxrmargin widths between parse sequences. --- term.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'term.h') diff --git a/term.h b/term.h index 134c83de..4a1ed902 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.51 2009/11/12 05:50:13 kristaps Exp $ */ +/* $Id: term.h,v 1.52 2010/03/23 12:42:22 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -35,6 +35,7 @@ struct termp { size_t maxcols; /* Max size of buf. */ size_t offset; /* Margin offest. */ size_t col; /* Bytes in buf. */ + int overstep; /* See termp_flushln(). */ int flags; #define TERMP_NOSPACE (1 << 2) /* No space before words. */ #define TERMP_NOLPAD (1 << 3) /* See term_flushln(). */ -- cgit v1.2.3-56-ge451