Implement the escape key in GUI console to reset the current line

Based on github suggestion:

https://github.com/franko/gsl-shell/issues/16