summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui/cli.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/cli.sh b/src/ui/cli.sh
index 55cf2fe..b341c9e 100644
--- a/src/ui/cli.sh
+++ b/src/ui/cli.sh
@@ -94,8 +94,9 @@ cli_show_menu()
cli_show_prompt()
{
local title="${1}"
+ local len=${2}
+ shift 2
local input=''
- shift 1
printf '%s\n' "${title}" >"${cli_tty}"
{ printf '%s\n' "${title}" | sed 's/./-/g'; } >"${cli_tty}"