|
@@ -54,8 +54,8 @@ func (p *Panel) RightBottomPos() (rx, by int) {
|
|
|
rx = p.X + p.Width
|
|
|
by = p.Y + len(p.Lines)
|
|
|
if p.HasBorder() {
|
|
|
- rx += 2
|
|
|
- by += 2
|
|
|
+ rx += 1
|
|
|
+ by += 1
|
|
|
}
|
|
|
return
|
|
|
}
|
|
@@ -236,7 +236,7 @@ func (p *Panel) UpdateLine(index int) string {
|
|
|
// Position Cursor at the "end" of the panel
|
|
|
func (p *Panel) GotoEnd() string {
|
|
|
rx, by := p.RightBottomPos()
|
|
|
- return Goto(rx, by)
|
|
|
+ return Goto(rx + 1, by)
|
|
|
}
|
|
|
|
|
|
// Is the top line of this style a single line?
|