From ffc1bdaf355d6e7c7496ac79149575291e66377d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 29 Oct 2015 22:07:36 -0400 Subject: show_menu(): Add initial value parameter --- (limited to 'src/ui/cli.sh') diff --git a/src/ui/cli.sh b/src/ui/cli.sh index 369694c..4b2854c 100644 --- a/src/ui/cli.sh +++ b/src/ui/cli.sh @@ -105,8 +105,9 @@ cli_show_menu() cli_show_prompt() { local title="${1}" - local len=${2} - shift 2 + local input="${2}" + local len=${3} + shift 3 local input='' printf '%s\n' "${title}" >"${cli_tty}" -- cgit v0.9.1