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 }}
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
in clara_textflow.hpp won't ever trigger the assert, because size_t is an unsigned type, and its invocations will wrap-around if they aren't called correctly
Hi,
Sorry for the delay in getting to this.
I've pushed a fix for it, along with some basic tests (I plan to do more, property-based style, tests of this sort of thing).
Could you check if it works for you now?
Regarding that assert - yeah that looks like a hold over from newWidth being a signed type. Not harmful, but I'll remove it - thanks.
I get a
std::bad_alloc
for help strings that are too wide for my console when trying to dostd::cerr << cli << std::endl;
The problem comes from this line of code:
where
optWidth
is not bounded to be less thanconsoleWidth - 7
The text was updated successfully, but these errors were encountered: