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