xref: /freebsd/contrib/dialog/samples/pause-both (revision a96ef4501919d7ac08e94e98dc34b0bdd744802b)
17a1c0d96SNathan Whitehorn#!/bin/sh
2*a96ef450SBaptiste Daroussin# $Id: pause-both,v 1.2 2020/11/26 00:05:11 tom Exp $
37a1c0d96SNathan Whitehorn
47a1c0d96SNathan Whitehorn. ./setup-vars
57a1c0d96SNathan Whitehorn
67a1c0d96SNathan Whitehorn$DIALOG --title "PAUSE" \
77a1c0d96SNathan Whitehorn	--help-button \
87a1c0d96SNathan Whitehorn	--extra-button "$@" \
97a1c0d96SNathan Whitehorn	--pause "Hi, this is a pause widget" 20 70 10
107a1c0d96SNathan Whitehorn
11*a96ef450SBaptiste Daroussinreturncode=$?
12*a96ef450SBaptiste Daroussinecho return $returncode
137a1c0d96SNathan Whitehorn
147a1c0d96SNathan Whitehorn. ./report-button
15