summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-28 12:03:20 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-28 12:03:20 (EDT)
commitf3d4123896e25c161ac36a8877ba639fecc09d9e (patch)
tree41d5af0e59ea66641cffa4f0d921123563c14972
parent776617d02c2109762e24d2c4abdcc3424068da9d (diff)
downloadfirman.sh-f3d4123896e25c161ac36a8877ba639fecc09d9e.zip
firman.sh-f3d4123896e25c161ac36a8877ba639fecc09d9e.tar.gz
firman.sh-f3d4123896e25c161ac36a8877ba639fecc09d9e.tar.bz2
cli_show_menu(): Print newline before returning
-rw-r--r--src/ui/cli.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/cli.sh b/src/ui/cli.sh
index 8bc18a1..9825ce5 100644
--- a/src/ui/cli.sh
+++ b/src/ui/cli.sh
@@ -95,6 +95,7 @@ cli_show_menu()
if [ ${i} -le 0 ] || [ ${i} -gt ${l} ]; then
continue
fi
+ printf '\n' >"${cli_tty}"
i=$(($i - 1))
printf '%d' "${i}"
return 0