we must also use the border width here

This commit is contained in:
speedie 2023-04-21 11:41:30 +02:00
parent 07a0eaefd9
commit 50f37c839b

View file

@ -304,7 +304,7 @@ calcoffsets(void)
if (!strcmp(capstext, ""))
capsWidth = 0;
n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + 2 * borderwidth);
n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + 2 * borderwidth + menumarginv);
}
// calculate which items will begin the next page