diff options
author | davidovski <david@davidovski.xyz> | 2022-04-28 11:49:16 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-28 11:49:16 +0100 |
commit | fd1e31b3507ea0555c6f620188fa10f844d712b3 (patch) | |
tree | c8bf54bd1c1a418d39d3f5370bc5d7f3662faebf /src | |
parent | b1d9f7232adc458dfa5bcf01fa1f4c95ac76bfb6 (diff) |
removed extra tty redirectsv1.3
Diffstat (limited to 'src')
-rw-r--r-- | src/xit.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -182,10 +182,8 @@ t_drw_txt_clr () { t_msg () { h_txt_w_h "$@\n" h_cntr $w $h - { - t_drw_box $((x-1)) $((y-1)) $((w+2)) $((h+2)) - t_drw_txt_clr "${COLOR_FG}" $x $y "$@" - } > $(tty) + t_drw_box $((x-1)) $((y-1)) $((w+2)) $((h+2)) + t_drw_txt_clr "${COLOR_FG}" $x $y "$@" } h_drw_btns () { @@ -224,8 +222,8 @@ h_t_result() { } t_dialog() { + # TODO these are messy af local msg="$1"; shift - local btns_len="$#" w_btns=$(echo "$*" | wc -c) h_txt_w_h "$msg\n $*\n" |