]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add/tweak a couple of comments.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 19 Feb 2006 14:10:02 +0000 (14:10 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 19 Feb 2006 14:10:02 +0000 (14:10 +0000)
[originally from svn r6576]

putty.h
terminal.h

diff --git a/putty.h b/putty.h
index ae417391f60aa873bcfcd71ade63d585bbd3f17a..978cbf526a0e774a7b9c18ab06c02338cffc0ebd 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 606d7939cf0cfc6747ab5556281acd590ddf0166..c98a746d7852a810f103f3f5c662c1cf44381d3f 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 */