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