mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Fix vendored dep because upstream is non-responsive
Eventually this needs to be fixed in the textflow project by Phil, but he has not done so in the half a year this bug has been known to be there, so... Closes #1470 Closes #1455
This commit is contained in:
3
third_party/clara.hpp
vendored
3
third_party/clara.hpp
vendored
@@ -110,6 +110,9 @@ namespace clara { namespace TextFlow {
|
||||
m_suffix = false;
|
||||
auto width = m_column.m_width-indent();
|
||||
m_end = m_pos;
|
||||
if (line()[m_pos] == '\n') {
|
||||
++m_end;
|
||||
}
|
||||
while( m_end < line().size() && line()[m_end] != '\n' )
|
||||
++m_end;
|
||||
|
||||
|
Reference in New Issue
Block a user