summaryrefslogtreecommitdiffstats
path: root/src/ui/cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/cli.sh')
-rw-r--r--src/ui/cli.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/cli.sh b/src/ui/cli.sh
index b341c9e..369694c 100644
--- a/src/ui/cli.sh
+++ b/src/ui/cli.sh
@@ -16,6 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cli_tty=''
+cli_msg=''
cli_init_ui()
{
@@ -53,6 +54,16 @@ cli_err()
printf "Error: ${fmt}\n" "${@}" >"${cli_tty}"
}
+cli_message()
+{
+ local msg="${1}"
+ shift 1
+
+ printf '%s\n\n' "${msg}" >"${cli_tty}"
+
+ return 0
+}
+
cli_show_menu()
{
local title="${1}"