saghul/txiki.js

Repl is always returning additional line

KaruroChori opened this issue · 3 comments

Many repl operation will also return an additional > undefined line when not desirable. For example

> console.log('Hello')
Hello
> undefined

That is expected of the REPL because it's the return code of the previous line.

IIRC Node, Deno and Bun do it. The o my one I think doesn't could be Python, if the return value is None.

Fair, but all the other repl environments are not showing the > which implies some kind of action from the user.

That could be fixed yes!