Fix term.lua completion list printing