This pull request adds support for the default parameter of Console#ask, which wasn't passed down nor taken into account in TextBoxComponent.
Note: my approach was the easiest I could think of—reusing the existing methods instead of adding a new cursor manipulation, at the cost of introducing a loop, which I believe is fast enough to not care about it.
This pull request adds support for the
default
parameter ofConsole#ask
, which wasn't passed down nor taken into account inTextBoxComponent
.Note: my approach was the easiest I could think of—reusing the existing methods instead of adding a new cursor manipulation, at the cost of introducing a loop, which I believe is fast enough to not care about it.