iron.nvim icon indicating copy to clipboard operation
iron.nvim copied to clipboard

Status bar hides last line of REPL in floating window

Open guymorlan opened this issue 2 years ago • 3 comments

My status line covers the last line of the REPL's floating window, making me unable to see what I'm typing when the cursor reaches the bottom of the REPL. This happens with the latest version of iron on both ipython and r. It happens also when disabling the custom status line (vim-airline). My repl_open_cmd (defined in the iron config) is:

    repl_open_cmd = require('iron.view').curry.right(function()
        return math.ceil(vim.o.columns / 2.5)
    end),

Any ideas how this can be solved? When opening the REPL in a split there is no problem, it only occurs in a floating window.

guymorlan avatar Jun 09 '22 11:06 guymorlan

I'm not sure what exactly changed for me, but the status line no longer covers the floating windows, and yet the last output line in the floating window is nevertheless missing. Here's an example. As you can see the new prompt line itself is missing from the REPL windows. Any ideas?

guymorlan avatar Jul 17 '22 20:07 guymorlan

Okay, the problem seems to occur when cmdheight is set to more than 1.

guymorlan avatar Jul 27 '22 08:07 guymorlan

I'll check this. I'm back from vacations now and hopefully I'll have more time to triage and fix issues.

hkupty avatar Jul 31 '22 20:07 hkupty