xref: /freebsd/contrib/dialog/samples/pause-both (revision a90b9d0159070121c221b966469c3e36d912bf82)
1#!/bin/sh
2# $Id: pause-both,v 1.2 2020/11/26 00:05:11 tom Exp $
3
4. ./setup-vars
5
6$DIALOG --title "PAUSE" \
7	--help-button \
8	--extra-button "$@" \
9	--pause "Hi, this is a pause widget" 20 70 10
10
11returncode=$?
12echo return $returncode
13
14. ./report-button
15