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
Whatever value of width is used - either given explicitly on command line with -w, or taken from config or terminal width - the actual output width does not adhere to this value strictly, resultng in garbled render.
Setup
glow in between 4578bc1 and 7b3bfac (master as of writing this). The former commit is what actually brought in the issue (I've bisected it).
So the last release prior to the issue was v1.5.1, and subsequent v2.0.0 is already affected.
Describe the bug
Whatever value of width is used - either given explicitly on command line with
-w
, or taken from config or terminal width - the actual output width does not adhere to this value strictly, resultng in garbled render.Setup
glow in between 4578bc1 and 7b3bfac (master as of writing this). The former commit is what actually brought in the issue (I've bisected it).
So the last release prior to the issue was v1.5.1, and subsequent v2.0.0 is already affected.
To Reproduce
Line lengths exceed the specified width.
Screenshots
For the captures below, glow was called as
$ glow -w $(stty size | awk '{print $2}') sample.md
ie. forcing nominal output width to terminal width, to avoid hitting #666.
On the left, we can see the garbled render of v2.0.0; on the right, we can see the proper render of v1.5.1.
.
The text was updated successfully, but these errors were encountered: