Akianonymus / gdrive-downloader

Download a gdrive folder or file easily, shell ftw.
The Unlicense
304 stars 28 forks source link

Progress Bar Issue in St terminal #17

Closed athuld closed 3 years ago

athuld commented 3 years ago

pic-selected-201218-0134-12

athuld commented 3 years ago

It should be in 2 lines only right

Akianonymus commented 3 years ago

Do following command ans give output

echo "${TERM}"

Check if your terminal supports ansi escapes.

athuld commented 3 years ago

Do following command ans give output

echo "${TERM}"

Check if your terminal supports ansi escapes.

image

Akianonymus commented 3 years ago

@athuld Hmm, will push a fix soon.

athuld commented 3 years ago

@athuld Hmm, will push a fix soon.

The weird thing is that in a tmux session , the progress bar is absolutely fine

Akianonymus commented 3 years ago

@athuld Well, the script tries to detect the terminal type, if a specified terminal is given, then progress bar is properly shown.

Your current terminal ( st ) is not handled, thus breaking the progress bar.

athuld commented 3 years ago

Oh okay got it....btw a great thanks for your script ..i've been searching for downloading gdrive folders efficiently for a while now and accidentally stumbled upon your repo... thanks a ton for the awesome work

Akianonymus commented 3 years ago

Pushed the fix, update with gdl -u and try again.