zbirenbaum / nvterm

NvChad's Official Terminal Plugin ( Unmaintained but still usable and stable), wait for v3.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Floating terminal not centered after changing the size of it?

GreenSleeper opened this issue · comments

I changed the size of floating terminal like this:

  {
    "NvChad/nvterm",
    opts = {
      terminals = {
        type_opts = {
          float = {
            width = 0.7,
            height = 0.8,
            border = "double",
          },
        },
      },
    },
  },

and the floating terminal isn't centered anymore.
How can I make it centered.

And what does the relative field mean in the default configuration?

So, row and col can adjust the position.
Still confused about the relative field.