bars: fix fg_color not working with lua (#666)

This commit is contained in:
Giacomo Zama
2026-05-18 00:21:56 +02:00
committed by GitHub
parent f1569efa6a
commit b3247839c9

View File

@ -143,6 +143,7 @@ int newLuaButton(lua_State* L) {
if (err.errorCode != Config::Lua::PARSE_ERROR_OK)
return Config::Lua::Bindings::Internal::configError(L, "add_button: failed to parse fg_color");
button.userfg = true;
button.fgcol = parser.parsed();
}