You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleMainwhereimportqualifiedBrick.MainasMimportqualifiedBrick.Widgets.CoreasWC
ui =WC.vLimit h .WC.hLimit 5$WC.hBox
[ WC.str text2
, WC.vLimit h $WC.fill '$'
]
where
h =3
text1 ="\n寬字\n\n"
text2 ="\nabcd\n\n"main::IO()
main =M.simpleMain ui
The program displays
$
abcd$
$
But when I replace WC.str text2 by WC.str text1, it displays
寬字
Both abcd and 寬字 occupy 4 display length in my terminal.
Maybe there is something wrong with wide character rendering?
The text was updated successfully, but these errors were encountered:
Right now, wide characters are not supported. I've had it on my TODO list for some time, but I haven't spent any time investigating what would be required. (I supported this in vty-ui previously so I'm familiar with the problem and its solution; I just haven't dedicated time to fixing this in brick.)
The program displays
But when I replace
WC.str text2
byWC.str text1
, it displaysBoth
abcd
and寬字
occupy 4 display length in my terminal.Maybe there is something wrong with wide character rendering?
The text was updated successfully, but these errors were encountered: