Is there any good way to get output from the code you run from a
keybinding? For someone getting started with lua scripting within ion,
the total lack of output makes things pretty difficult.
just connecting lua's print() statements to stdout would be great; that
way arbitrary strings could be seen with "tail -f .xsession-errors". As
it is, only some errors go there, so I'm doing horrible things like
"dummy = a.a", which produces
ion3: /home/lunz/.ion3/cfg_floatws.lua:10: attempt to index global `a'
(a nil value)
on stderr, so I can at least see if a branch was taken. Surely there's a
better way to do this?
Jason