X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/fc5a96b6150e10abded6504e1d5983f0d01bee8c..2caf3cd8632874b0bc382d946d6bf4c6ec8f5c95:/terminal.h diff --git a/terminal.h b/terminal.h index 9bc13127..66304117 100644 --- a/terminal.h +++ b/terminal.h @@ -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; };