Cal widget fails on awesome-luajit due to UTF8 requeriment
edubart opened this issue · 2 comments
edubart commented
I use awesome with luajit, and luajit does not have the UTF-8 module, a recent change in cal.lua
is requiring utf8, but the global utf8
is nil
on luajit, so the cal widget generate errors when I hover it.
Oops, an error happened!
../lain/widget/cal.lua:64: attempt to index upvalue 'utf8' (a nil value)
pmsdrh commented
Hi! you can remove this
:sub(1, utf8.offset(1, 3))
(line 64)