pioneerspacesim/pioneer — pull request #1304 by laarmen (2012-06-23 22:41:35+00:00)
Title: Lua console print improvements

With those two commits, the Pioneer Lua Console will lose its current status of "barely usable hack" to gain the prestigious ranks of the "nobody uses it but at least it looks nice" :-).

The first commit automatically output the result of the statement if it is an expression. No more "F*ck, I forgot the print !".

The second one gives some context to all those new shiny printouts by outputing every successful statement prefixed by > for the first line of the statement and simply indented for the remaining lines.

Tests, criticisms and praises are most welcome.