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