Re: range_line_is_continued #8382
Unanswered
rivenirvana
asked this question in
Q&A
Replies: 1 comment
-
yes it means the last cell on the prev line was marked to be wrapped.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This has been bugging me for a bit, so I figured I'd post this as a discussion first since it might not be an issue after all.
Was trying to update my last PR about cmd paging, and hit a test fail which made me think I'm misunderstanding this function. So just to clarify, am I correct in my interpretation that:
range_line_is_continued
basically checks if the line above the specified line is wrapped (next_char_was_wrapped
== true at the end of that line)Just experiencing some confusion, because when I rigged the lvco codepath in
find_cmd_output
so that I can easily see in the test assert errors which linerange_line_is_continued
returns true for, I'm getting inconsistent results. I'm probably missing something here.Maybe there's something inconsistent about setting wrap markers on resize (specifically for lines that don't get wrapped at all)?Or maybe it's a wrong assumption that I can just skip over continued lines for this feature (since i'm only looking for prompt and output markers). Will try to have a look again at the resize code, but my currently sleepless brain will appreciate any guidance, thanks.
Beta Was this translation helpful? Give feedback.
All reactions