equal
deleted
inserted
replaced
27 "false" |
27 "false" |
28 ) |
28 ) |
29 |
29 |
30 if [[ "$w1" == "--list-input-devices" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
30 if [[ "$w1" == "--list-input-devices" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--list-input-events" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--list-input-events" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
|
32 elif [[ "$w1" == "--list-windows" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 else |
33 else |
33 OPTIONS=( |
34 OPTIONS=( |
34 "--list-input-devices" |
35 "--list-input-devices" |
35 "--list-input-events" |
36 "--list-input-events" |
|
37 "--list-windows" |
36 ) |
38 ) |
37 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
39 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
38 fi |
40 fi |
39 } |
41 } |
40 |
42 |