如何配置对话框 bash 的取消按钮?
以下是我迄今为止所做的事情:
dialog --backtitle "Dialog - Form sample" \
--form " Form Test - use [up] [down] to select input field " 21 70 18 \
"Network-ID:" 2 2 "" 2 15 20 0\
"Subnet Mask:" 4 2 "" 4 15 20 0\
答案1
--form
应该提供它自己的取消按钮,但是上面引用的语法应该是
dialog --backtitle "Dialog - Form sample" \
--form " Form Test - use [up] [down] to select input field " 21 70 18 \
"Network-ID:" 2 2 "" 2 15 20 0 \
"Subnet Mask:" 4 2 "" 4 15 20 0