From aa8151b1157e8486bce7cb08deeb4c78df1d9669 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 8 May 2017 15:34:54 +0000 Subject: Basic implementation of the roff(7) .ti (temporary indent) request. Needed by about four dozen ports (thanks to naddy@ for the research). --- term.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'term.h') diff --git a/term.h b/term.h index b69e6715..25600d42 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.120 2017/05/07 17:31:45 schwarze Exp $ */ +/* $Id: term.h,v 1.121 2017/05/08 15:34:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017 Ingo Schwarze @@ -68,6 +68,7 @@ struct termp { size_t viscol; /* Chars on current line. */ size_t trailspace; /* See termp_flushln(). */ int overstep; /* See termp_flushln(). */ + int ti; /* Temporary indent for one line. */ int skipvsp; /* Vertical space to skip. */ int flags; #define TERMP_SENTENCE (1 << 0) /* Space before a sentence. */ -- cgit v1.2.3-56-ge451