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