dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
977 stars 49 forks source link

[Bug] Single line output windows have an extra newline #111

Open benlubas opened 11 months ago

benlubas commented 11 months ago

This is the smallest of small bugs, but it was a little confusing to encounter

when I just evaluate x = 1 + 2 the output window is one line that says "done" or something like that

When you enter the output window, the buffer actually has two lines, an empty one below the one that's displayed, so if you hit j in the output window the output disappears b/c you're scrolling the buffer, and the window is only one line tall.

Maybe I'll get around to looking this, it's really small, maybe I can find enough small bugs and just include them in one PR.