--- gforth/prim 2006/02/04 22:09:11 1.188 +++ gforth/prim 2006/02/19 17:27:12 1.189 @@ -1681,6 +1681,10 @@ with the window size."" urows=rows; ucols=cols; +wcwidth ( u -- n ) gforth +""The number of fixed-width characters per unicode character u"" +n = wcwidth(u); + flush-icache ( c_addr u -- ) gforth flush_icache ""Make sure that the instruction cache of the processor (if there is one) does not contain stale data at @i{c-addr} and @i{u} bytes