diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-06-05 10:24:20 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-12-03 14:39:57 +1100 |
commit | b917fc4ec145de2457349bd5df358c89617f1581 (patch) | |
tree | b408b7c49772024348940e484dca7724cc992266 /ui/ncurses/nc-widgets.h | |
parent | 1b72d21bc3713b6c82f56e31e84413e0956fa4ed (diff) | |
download | talos-petitboot-b917fc4ec145de2457349bd5df358c89617f1581.tar.gz talos-petitboot-b917fc4ec145de2457349bd5df358c89617f1581.zip |
ui/ncurses: Simplify starting shell
Instead of calling sh twice to echo the 'exiting' message just call sh
by itself and leave any welcome message to the shell's interactive
config.
Also drop the explicit nc_scr_unpost() in cui_run_cmd() since clear()
will blank out the screen anyway.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-widgets.h')
0 files changed, 0 insertions, 0 deletions