Sha256: 17a4620869e957de0678d0dd231ff276f2e4f98c41ff8ff220051a6b3723e0e1

Contents?: true

Size: 233 Bytes

Versions: 10

Compression:

Stored size: 233 Bytes

Contents

#!/bin/sh

text=${1:-Pick}
tags=`cat`
lines=$(tput lines)
columns=$(tput cols)

result=$(dialog --no-items --menu "$text" $((lines - 5)) $((columns - 5)) $((lines - 10)) $tags 2>&1 1>/dev/tty)
exitcode=$?
echo $result
exit $exitcode

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
utils-0.16.0 bin/dialog-pick
utils-0.15.1 bin/dialog-pick
utils-0.15.0 bin/dialog-pick
utils-0.14.0 bin/dialog-pick
utils-0.13.0 bin/dialog-pick
utils-0.12.0 bin/dialog-pick
utils-0.11.0 bin/dialog-pick
utils-0.10.1 bin/dialog-pick
utils-0.10.0 bin/dialog-pick
utils-0.9.0 bin/dialog-pick