kresc possible improvements
completefunction into multiple functions -- currently it's kind of spaghetti code
￼ Tab-completion could suggest function parameters. E.g.
(string addr, number port)as Lua prints when you try to call
krescare not logged by
stat = worker.stats()followed by
stat.<TAB>does not auto-complete. (@pspacek)
For better UX, in future I'd like to add some flag to kresd that starts it "in background" and drops the user into kresc. Or perhaps the other way around – add it as a flag to kresc, e.g. just
--and args for kresd after that. (@vcunat)
Another future TODO: make it build-time configurable so that distros can specify the default socket if none is on the command-line, e.g.
/run/kresd/controlis used in Debian-like packages IIRC. That way users might just run
sudo krescon their systems using pre-packaged
How does one quit from the client? I thought
^Dshould work but it doesn't seem to (anymore?). (@vcunat)
- solve problem with tables with number keys
Feel free to add your own suggestion.