From e6717a9898d1a139988d70e6fa5d19dbf8b8bba2 Mon Sep 17 00:00:00 2001 From: jacob Date: Sun, 19 Feb 2006 14:10:02 +0000 Subject: [PATCH] Add/tweak a couple of comments. git-svn-id: svn://svn.tartarus.org/sgt/putty@6576 cda61777-01e9-0310-a592-d414129be87e --- putty.h | 6 ++++-- terminal.h | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/putty.h b/putty.h index ae417391..978cbf52 100644 --- a/putty.h +++ b/putty.h @@ -70,8 +70,10 @@ typedef struct terminal_tag Terminal; #define LATTR_TOP 0x00000002UL #define LATTR_BOT 0x00000003UL #define LATTR_MODE 0x00000003UL -#define LATTR_WRAPPED 0x00000010UL -#define LATTR_WRAPPED2 0x00000020UL +#define LATTR_WRAPPED 0x00000010UL /* this line wraps to next */ +#define LATTR_WRAPPED2 0x00000020UL /* with WRAPPED: CJK wide character + wrapped to next line, so last + single-width cell is empty */ #define ATTR_INVALID 0x03FFFFU diff --git a/terminal.h b/terminal.h index 606d7939..c98a746d 100644 --- a/terminal.h +++ b/terminal.h @@ -79,8 +79,9 @@ struct terminal_tag { tree234 *screen; /* lines on primary screen */ tree234 *alt_screen; /* lines on alternate screen */ int disptop; /* distance scrolled back (0 or -ve) */ - int tempsblines; /* number of lines in temporary - scrollback */ + int tempsblines; /* number of lines of .scrollback that + can be retrieved onto the terminal + ("temporary scrollback") */ termline **disptext; /* buffer of text on real screen */ int dispcursx, dispcursy; /* location of cursor on real screen */ -- 2.11.0