Add/tweak a couple of comments.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Feb 2006 14:10:02 +0000 (14:10 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Feb 2006 14:10:02 +0000 (14:10 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@6576 cda61777-01e9-0310-a592-d414129be87e

putty.h
terminal.h

diff --git a/putty.h b/putty.h
index ae41739..978cbf5 100644 (file)
--- 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
 
index 606d793..c98a746 100644 (file)
@@ -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 */