-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show full screen output on Wait+Line mismatch #533
Comments
I can see how that would help debugging -- we could print the entire buffer, though it would be important to indicate which line the cursor is on (since that's the one being checked). For your issue, the last line is likely the cursor, but if that ever weren't the case, it would help understand what happened. |
That sounds good. It looks like there's definitely room for improvement with the error message here for sure. It would be nice to have the error message similar to the one we will be using in Freeze Here's the code behind this output: https://github.com/charmbracelet/freeze/pull/119/files#diff-097efd4fdcfbc4644e1d6fd6b758f217ca51969e14309c8b70d42a6e41dde579 You might also find great success with using https://github.com/charmbracelet/log |
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
In case `Wait` fails we don't have relevant debugging output, so let's just simulate it by using Wait+Screen regex. Do this for both versions of wait, taking care of the default pattern, if any. See: charmbracelet/vhs#533
Is your feature request related to a problem? Please describe.
Thanks to @mastercactapus we've finally the
Wait
feature, but when waiting for a line on failure it's hard to understand the context as the error is just:Describe the solution you'd like
Other than showing the failed line (ideally in a new line so that's clearer), the whole context should be shown as when using
Wait+Screen
Describe alternatives you've considered
Using
Wait+Screen /Username:\n/
is an option but that doesn't make sure that we're matching the last screen line.The text was updated successfully, but these errors were encountered: