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