Closed edubart closed 2 years ago
Hi! you can remove this :sub(1, utf8.offset(1, 3)) (line 64)
this is a problem for anyone not using lua 5.3+.
the fix is to undo https://github.com/lcpz/lain/commit/3a6882af54dd4bb5f0fec3567dab2b5b64dec4fe locally. ofc, you won't get to have utf8 chars in your calendar.
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 globalutf8
isnil
on luajit, so the cal widget generate errors when I hover it.