-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
REPL multiline display #169
Comments
38a3919 and 41f982b touched the logic that prints the variables. So if you try to go to an earlier version you'd have to go to 8b7e087 But the multiline handling shouldn't have changed with these commits. Are you sure this used to be different? Could you enable trace logging ( |
There have also been some patches for prompt buffers which could have changed behavior. For example, REPL output is now working without the need to be in insert mode in this buffer at least once. |
Apparently I was not properly resetting to earlier commits while testing. Having figured out how to do so, the output changed from multiline to single line in 41f982b. It seems to me the newline sequences in the numpy arrays are being replace by whitespaces as a result of Line 88 in 41f982b
This is what the output looks like on d646bbc: and here is the output log after entering
|
Thanks for investigating further. I'll either restore the old behavior or have an option to expand/configure the multiline behavior as part of #165 |
Apologies if I'm missing something obvious, but is there any chance of multiline output printing coming back? |
I'm not sure what's causing this behavior, but numpy arrays are being displayed on a single line in the REPL:
This is strange, as I don't remember this being an issue. Last time I used nvim-dap, the arrays were nicely formatted in the REPL, similarly as
require('dap.ui.variables').hover()
whenmultiline_variable_display
is set totrue
:I tried resetting to previous commits, but the single line formatting is still persistent. Any idea as to what might be causing this behavior?
The text was updated successfully, but these errors were encountered: