diff --git a/src/plugins/remotectl/remotectl.c b/src/plugins/remotectl/remotectl.c index de33562..1b2fadd 100644 --- a/src/plugins/remotectl/remotectl.c +++ b/src/plugins/remotectl/remotectl.c @@ -164,7 +164,7 @@ return ENOTCONN; trace("%s: pos=%d row=%d col=%d",__FUNCTION__,rc,rc/80,rc%80); - lib3270_set_cursor_address(hSession,(int) rc); + lib3270_set_cursor_address(hSession,((int) rc) -1); return 0; } -- libgit2 0.21.2