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