You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Readme incorrectly shows FSArray background colour rendered over full array #117
I was recreating the screenshots in readme.md, but I found that the rendering didn't match the existing screenshots. The background color of the FSArray is not being rendered, only the background color of an text shows.
For comparison, here is what is currently shown in readme.md
Whoa that's a big change huh! We could track down the regression, I'd guess it's something to do with the way fsarrays store formatting? Maybe that's something we got rid of?
This might have been by design, and it's just the readme we should change. Arrays by default being spaces or rendering as all spaces isn't desirable in some cases, e.g. when rendering exactly a terminal-sized rect printing these characters would force a lot more line wraps when resizing the terminal smaller that would otherwise be necessary (I bet this is why it was changed).
changed the title [-]FSArray background colour is only rendered[/-][+]Readme incorrectly shows FSArray background colour rendered over full array[/+]on Jul 11, 2018
Activity
moreati commentedon Jul 5, 2018
Code for copy and paste
thomasballinger commentedon Jul 7, 2018
Whoa that's a big change huh! We could track down the regression, I'd guess it's something to do with the way fsarrays store formatting? Maybe that's something we got rid of?
Do you have a workaround that work for you now?
moreati commentedon Jul 7, 2018
I'll have a go at bisecting it.
Yes, I'm writing space characters where needed.
thomasballinger commentedon Jul 7, 2018
This might have been by design, and it's just the readme we should change. Arrays by default being spaces or rendering as all spaces isn't desirable in some cases, e.g. when rendering exactly a terminal-sized rect printing these characters would force a lot more line wraps when resizing the terminal smaller that would otherwise be necessary (I bet this is why it was changed).
moreati commentedon Jul 9, 2018
FTR the change of behavior was introduced by 8cf4240 in Nov 2013
thomasballinger commentedon Jul 11, 2018
Thanks for finding this. I think we should call this works as intended and say the bug is with the docs.
[-]FSArray background colour is only rendered[/-][+]Readme incorrectly shows FSArray background colour rendered over full array[/+]moreati commentedon Jul 11, 2018
I'll submit a PR documenting it then