[qwaq] Offset position when forwardning mvaddstr

This commit is contained in:
Bill Currie 2020-03-26 20:31:14 +09:00
parent 4de2c6b30e
commit 8dcb3fefb3

View file

@ -206,6 +206,13 @@ updateScreenCursor (View *view)
[textContext mvaddch: pos, ch];
}
- (void) mvaddstr: (Point) pos, string str
{
pos.x += xpos;
pos.y += ypos;
[textContext mvaddstr: pos, str];
}
-move: (Point) delta
{
xpos += delta.x;