Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #examples for termux-dialog
- #basic input box
- termux-dialog -t "This is my Title" -i "Enter Info Here"
- #yes/no confirm
- termux-dialog confirm -t "CONTINUE" -i "Would you want to continue?"
- #multi select checkbox
- termux-dialog checkbox -t "Which ones would you like?" -v "Option 1,Option 2,This is Option 3"
- #number selector !!!!This crashes termux for me!!!!
- #termux-dialog counter -t "How many?" -r 0,10
- #date selector
- termux-dialog date -t "Please Select a Date"
- #the following changes the default date if none is selected
- #but it doesn't change the default date displayed
- termux-dialog date -t "Please Select a Date" -d "04-07-2025"
- #radio select
- termux-dialog radio -t "Please Select A Name" -v "John,Jack,Jill"
- #similar to radio, but slides from bottom
- #and instant entry on select. no ok button
- termux-dialog sheet -t "Please Select A Name" -v "John,Jack,Jill"
- #drop down memu
- termux-dialog spinner -t "Please Select A Name" -v "John,Jack,Jill"
- #more advanced input boxes
- #password entry
- termux-dialog -t "Password Needed" -i "Enter Password" -p
- #multi line input box
- termux-dialog -t "This is my Title" -i "Enter Info Here" -m
- #number entry
- termux-dialog -t "How Old Are You" -i "Enter Age Here" -n
- #time entry
- termux-dialog time -t "Select A Time"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement