on master help sign in
README: edits
commit4340e45816afb88d94f8d053884fd8dd831134fb authorJonathan Daugherty <cygnus@foobox.com> dateThu 5 Mar 2020, 09:43 (7 years ago) parente1384c3
1 file changed+6−8
README.md+6−8
README.md+6−8
@@ -97,14 +97,12 @@ will exhibit rendering problems. Those rendering problems arise from Vty
9797and the terminal emulator coming to different conclusions about how wide
9898some characters are.
9999
100−Vty has a built-in Unicode character width table. Unless configured to
101−do otherwise, by default, Vty will use this built-in table. But since
102−the built-in table is likely to eventually disagree with your terminal,
103−Vty provides a feature called custom Unicode character width table
104−support. This feature allows Vty to query your terminal to build a width
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.
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
102+disagreements. By default, though, Vty will use its built-in Unicode
103+character width table. Since the built-in table is likely to eventually
104+disagree with your terminal, Vty provides an API and a command-line tool
105+to generate and install custom tables.
108106
109107Custom Unicode width tables based on your terminal emulator can be
110108built by running Vty's built-in tool, `vty-build-width-table`. The tool