zbirenbaum / nvterm

NvChad's Official Terminal Plugin ( Unmaintained but still usable and stable), wait for v3.0
GNU General Public License v3.0
181 stars 20 forks source link

Floating terminal not centered after changing the size of it? #48

Closed GreenSleeper closed 1 year ago

GreenSleeper commented 1 year ago

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?

GreenSleeper commented 1 year ago

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