Commit 01f8a2b9a80cd8d4cbe5cd6c2a6e11b1dfe1ddb9

Authored by perry.werneck@gmail.com
1 parent 20c47c4f

Corrigindo posicionamento do cursor via hllapi

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/plugins/remotectl/remotectl.c
... ... @@ -164,7 +164,7 @@
164 164 return ENOTCONN;
165 165  
166 166 trace("%s: pos=%d row=%d col=%d",__FUNCTION__,rc,rc/80,rc%80);
167   - lib3270_set_cursor_address(hSession,(int) rc);
  167 + lib3270_set_cursor_address(hSession,((int) rc) -1);
168 168 return 0;
169 169 }
170 170  
... ...