insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.27k stars 307 forks source link

Space in agenda between time and title #564

Open euglevi opened 3 years ago

euglevi commented 3 years ago

Hello! First of all, thank you very much for gcalcli. I use it every day with great satisfaction.

I have gcalcli 4.20 installed through the Ubuntu package. When I open the agenda, there is a wide empty space between the time and the title. It is not a great deal, but it is sort of unhandy when it comes to putting the events in the tmux status bar.

Do you have an idea what the problem is and how to solve it? Thank you! Schermata da 2020-09-16 16-01-49

aldenjenkins commented 3 years ago

how did you remediate this? Curious as i'm dealing with the same. i just did a sed to remove the spaces, but im still left with some special tab chars

euglevi commented 3 years ago

I have to admit that I am not using gcalcli anymore and that I do not remember very well. However, I can paste you my old tmux config, which was also making everything shorter: gcalcli agenda --nostarted | cut -d ' ' -f1-1,3- | head -2 | tail -1 | cut -c1-50| sed $'s/\e\\[[0-9;:]*[a-zA-Z]//g'