Attempt to redraw the active commandline when needed

The goal is to have the prompt and any text remain visible even
when asynchronous processes spit out output.

Bug: 6205785
Change-Id: I2d06a8ce57f744a6bf705745b604eb6d21c5fb13
2 files changed