buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
642 stars 45 forks source link

Ensure xStart, xEnd in bounds #113

Closed DrJosh9000 closed 11 months ago

DrJosh9000 commented 11 months ago

And xStart >= xEnd, etc

DrJosh9000 commented 11 months ago

How about handling all the edge cases as early as possible?

xEnd is complicated because screenEndOfLine is -1. Otherwise I've tried to do that.

DrJosh9000 commented 11 months ago

How about handling all the edge cases as early as possible?

xEnd is complicated because screenEndOfLine is -1.

Thinking further on this, the answer to that is to change it to something positive.