luapower / tr0

Unicode text rendering engine in Lua
http://luapower.com/tr0
0 stars 1 forks source link

`multiline` option #40

Open capr opened 6 years ago

capr commented 6 years ago

Make a multiline option to be used by ui_editbox, which currently uses nowrap but in addition it has to filter newline characters in order to avoid multiple line rendering.

The idea is to have a single-line editbox which can accept any unicode character. This needs the custom glyph substitution feature so that newline chars can be drawn.