Commit: 8198a224ca825eb71b61e646a4fc6bbe787be4cf
Parent: 9568f4439efdf5daa2f941f544d8a84a2eee5cac
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-11-24 14:30:08
Tree: e3a7b75713cd9fe98e0b1e08d62bb46fab0654d4

shell: Fix artifacts when asking for user input Instead of printing a message use set the new prompt so it is carried over when new lines are printed. Unfortunately this has some drawbacks as apparently readline is not really able to redisplay properly if the prompt contain colors.

Diffstat

M src/shared/shell.c | 8 ++++++- -

1 files changed, 6 insertions(+), 2 deletions(-)

View Full Diff | Patch