xref: /freebsd/contrib/dialog/samples/pause-both (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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