Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. # Scenario 1
  2. function f { dialog --menu "asdf" 10 10 3 1 a 2 b; }
  3. f # This makes a dialog. Great.
  4.  
  5. # Scenario 2
  6. function f { read x; dialog --menu "asdf" 10 10 3 1 a 2 b; }
  7. echo "stuff" | f # This makes a dialog, but I can't move the selection cursor around at all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement