ansiweather icon indicating copy to clipboard operation
ansiweather copied to clipboard

multiline output

Open Eloitor opened this issue 1 year ago • 1 comments

I would like to have the following output for ansiweather -f 3:

 Rzeszów forecast: 
- Fri Jul 15: 23/14 °C 
- Sat Jul 16: 23/11 °C 
- Sun Jul 17: 21/9 °C 

I tried using dashes:\\n\033[34m- in the config, but the output is:

 Rzeszów forecast: Fri Jul 15: 23/14 °C 
- Sat Jul 16: 23/11 °C 
- Sun Jul 17: 21/9 °C 

Eloitor avatar Jul 15 '22 08:07 Eloitor

Try to set following in .ansiweatherrc:

forecast_text:forecast:\n\r delimiter:\033[35m

This is a bit odd but works if you can live without delimiters.

Heistergand avatar Sep 04 '22 21:09 Heistergand