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