]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - terminal.h
Store line widths in the bidi cache, so we don't fail to re-bidi a
[PuTTY.git] / terminal.h
index 9bc13127f7dc47073c94fa6dfadb8c06a0665022..6630411744c803c074028baf532d006ba5db9e80 100644 (file)
@@ -65,6 +65,11 @@ struct termline {
     struct termchar *chars;
 };
 
+struct bidi_cache_entry {
+    int width;
+    struct termchar *chars;
+};
+
 struct terminal_tag {
 
     int compatibility_level;
@@ -247,7 +252,7 @@ struct terminal_tag {
     int ltemp_size;
     bidi_char *wcFrom, *wcTo;
     int wcFromTo_size;
-    termchar **pre_bidi_cache, **post_bidi_cache;
+    struct bidi_cache_entry *pre_bidi_cache, *post_bidi_cache;
     int bidi_cache_size;
 };