Skip to content

fix: update display with handling #204

@Tieske

Description

@Tieske

Lua System changed the display width handling, see lunarmodules/luasystem#82.

So where this library currently keeps track of the history of validated widths, wrapping around the width functions in LuaSystem, we can now detect a single ambiguous width character, and reuse that across the board.

So the caches of the detected widths should be removed, and on startup/initialization we should test a single ambiguous width character, and store its width as a library global for all other width-checks to use.

This should simplify the implementation.

would require a minimum version of 0.7.0 of LuaSystem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions