The current '/lua/run/init.luafile, there are various places that reference theM.cacheor the locally definedterminal` variables.
This causes the following error: attempt to index upvalue 'terminal' (a nil value).

A simple way to fix this is to directly reference the required modules when necessary instead of referencing a local variable.
The current '/lua/run/init.lua
file, there are various places that reference theM.cacheor the locally definedterminal` variables.This causes the following error:
attempt to index upvalue 'terminal' (a nil value).A simple way to fix this is to directly reference the required modules when necessary instead of referencing a local variable.