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