Closed protiumx closed 1 year ago
Hi! Thanks for the awesome plugin. I've noticed that the row and col are calculated as
row
col
local col = math.ceil((cl - width) * opts.x) local row = math.ceil((ln - height) * opts.y - 1)
which means the position depends on the free space. My dimensions config looks as follow
{ height = 0.3, width = 0.2, x = 0.8, y = 0 }
But the result is not the expected. If I want to place the terminal at the top right, then the x position must be 1 which feels counter intuitive.
x
1
{ height = 0.3, width = 0.2, x = 1, y = 0 }
Hi! Thanks for the awesome plugin. I've noticed that the
row
andcol
are calculated aswhich means the position depends on the free space. My dimensions config looks as follow
But the result is not the expected. If I want to place the terminal at the top right, then the
x
position must be1
which feels counter intuitive.