on master help sign in
README: edits
4340e45Jonathan Daugherty
README.md+6−8
@@ -97,14 +97,12 @@ will exhibit rendering problems. Those rendering problems arise from Vty
97and the terminal emulator coming to different conclusions about how wide
97and the terminal emulator coming to different conclusions about how wide
98some characters are.
98some characters are.
99
99
100−Vty has a built-in Unicode character width table. Unless configured to
100+To address this, Vty supports loading custom character width tables
101+that are based on the terminal's behavior in order to eliminate these
101−do otherwise, by default, Vty will use this built-in table. But since
102+disagreements. By default, though, Vty will use its built-in Unicode
102−the built-in table is likely to eventually disagree with your terminal,
103+character width table. Since the built-in table is likely to eventually
103−Vty provides a feature called custom Unicode character width table
104+disagree with your terminal, Vty provides an API and a command-line tool
104−support. This feature allows Vty to query your terminal to build a width
105+to generate and install custom tables.
105−table based solely on your terminal emulator's logic. That table is then
106−saved to disk and loaded by Vty-based applications to ensure that Vty's
107−width calculations are correct for that particular terminal.
108
106
109Custom Unicode width tables based on your terminal emulator can be
107Custom Unicode width tables based on your terminal emulator can be
110built by running Vty's built-in tool, `vty-build-width-table`. The tool
108built by running Vty's built-in tool, `vty-build-width-table`. The tool