v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
660 stars 58 forks source link

feature request: compatibility with zenity --text-info --auto-scroll #108

Closed AntiSol closed 1 year ago

AntiSol commented 3 years ago

Hi,

I see that yad has a --tail option for --text-info dialogs which is the same behaviour as zenity's --auto-scroll option. It would be great if this feature was also accessible by using --auto-scroll, to make yad more compatible with zenity, e.g:

$ tar xvf /path/to/archive | yad --text-info --auto-scroll

Thanks!

sarether commented 3 years ago

"--tail" is shorter than " --auto-scroll" :) It may messed code. You can assign two variables to each dialog.

AntiSol commented 1 year ago

sorry to resurrect an ancient necro issue, I just happened to wonder about this today since I came across it again.

I'm not sure what you mean by "You can assign two variables to each dialog"?

And, yes, "--tail" might be shorter than '--auto-scroll', but that doesn't address my stated reason of wanting more compatibility with zenity, does it?

for the time being I guess I'll just not support yad in my script rather than writing special code to support it.

v1cont commented 1 year ago

added in 648b2ba

AntiSol commented 1 year ago

Marvellous! Thank you very much! :grin: