domdfcoding / whiptail

Use whiptail to display dialog boxes from Python scripts.
https://whiptail.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

The yesno method doesn't display a dialog box. #59

Open blueaxions opened 1 month ago

blueaxions commented 1 month ago

Description

Running python 3.6.8 on RHEL 8.6, trying to get a yesno dialog to display.

Steps to Reproduce

  1. Running the above code shows no dialog box.

Actual result:

Expected result:

A Yes or No dialog box with a default set to Yes.

Reproduces how often:

Running the above code snippet.

Version

Installation source

PyPI/pip

Other Additional Information:

Both the w.msgbox w.inputbox boxes display without any issues.

blueaxions commented 1 month ago

w = Whiptail(title="Input", height=10, width=60) san = w.yesno("Do you want to enter SAN values?", "yes")