Repository navigation
Windows Terminal 1.26 introduces a new global compatibility setting. Users can now specify whether characters with ambiguous width occupy one column (narrow) or two columns (wide).
Therefore, a thin configuration layer has been added to the wtswidth library, allowing users to customize measuring, depending on their preferences.
Changes:
- add
wtsgetambwidth()andwtssetambwidth()functions to the API - use
intinstead ofsize_tto always make the length a 32-bit value; this simplifies interaction with managed code - releases for Windows now also contain the compiled library (DLL + LIB files)
- [app syntax] requires the first argument to be either 1 (narrow) or 2 (wide) for the ambiguous character width, before any string is passed to the app
Related Windows Terminal PR:
microsoft/terminal#19864