Fix terminal echo breakage in bash

See https://github.com/jline/jline2/issues/163

Fix #41
v0.4.1