stefanofornari / BshConsole

A BeanShell console with history, vars/commands completion and more...
Apache License 2.0
2 stars 1 forks source link

Results of last command not properly displayed #24

Closed stefanofornari closed 5 years ago

stefanofornari commented 5 years ago

This is due to https://github.com/stefanofornari/BshConsole/blob/master/src/main/java/bsh/BshConsoleInterpreter.java#L175 because if the command finishes before starting the waiting loop starts, ret is not get from the future object.