contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.3k stars 100 forks source link

Allow thickness of underline to be 1 #1522

Closed Yaraslaut closed 1 week ago

Yaraslaut commented 2 weeks ago

This PR makes a small refactor if DecorationRendere.cpp and allows underline thickness to be equal to 1. I think that this can close https://github.com/contour-terminal/contour/issues/663 And refs https://github.com/contour-terminal/contour/issues/1242

christianparpart commented 1 week ago

we agreed to leave it like this, because std::ranges::iota requires a start parameter, which we do not need here.