2012-10-04 36 views
1

當我使用輸入字段創建對話框,然後使用鍵盤右側的數字鍵盤輸入一些數字時,它會退出。它不會退出,當我使用鍵盤上的數字...當使用數字鍵盤時Shell對話框退出

任何想法如何防止這種情況?這裏有一個示例對話框

dialog --backtitle "Dialog Title" --title "Username required" --inputbox "Please enter a username" 8 60 

回答

1

我找到了解決方案。這是一個膩子問題。您需要選中設置 - >終端 - >功能中的「禁用應用程序鍵盤模式」框。

enter image description here