summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-30 16:14:10 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-30 16:14:10 (EDT)
commitec8051f3a2fb91ecdbf086460d39fd31fb115210 (patch)
tree98c20e601a817186b118ddc1a64f33ec559bbd6f
parenta51b7ecf9b7130f4e59c34908930758f6ed25427 (diff)
downloadfirman.sh-ec8051f3a2fb91ecdbf086460d39fd31fb115210.zip
firman.sh-ec8051f3a2fb91ecdbf086460d39fd31fb115210.tar.gz
firman.sh-ec8051f3a2fb91ecdbf086460d39fd31fb115210.tar.bz2
tui_show_menu(): Output selected option
Uhh, oops.
-rw-r--r--src/ui/tui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/tui.sh b/src/ui/tui.sh
index 72822e6..85f2fe1 100644
--- a/src/ui/tui.sh
+++ b/src/ui/tui.sh
@@ -329,6 +329,7 @@ tui_show_menu()
fi
done
+ printf '%d' ${curpos}
return 0
}