projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store line widths in the bidi cache, so we don't fail to re-bidi a
[u/mdw/putty]
/
terminal.h
diff --git
a/terminal.h
b/terminal.h
index
9bc1312
..
6630411
100644
(file)
--- a/
terminal.h
+++ b/
terminal.h
@@
-65,6
+65,11
@@
struct termline {
struct termchar *chars;
};
struct termchar *chars;
};
+struct bidi_cache_entry {
+ int width;
+ struct termchar *chars;
+};
+
struct terminal_tag {
int compatibility_level;
struct terminal_tag {
int compatibility_level;
@@
-247,7
+252,7
@@
struct terminal_tag {
int ltemp_size;
bidi_char *wcFrom, *wcTo;
int wcFromTo_size;
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;
};
int bidi_cache_size;
};