Commit 7138af8015d5a44a327619d1db387acf40eb5a1f
1 parent
db9439cd
Exists in
master
and in
3 other branches
Incluindo opcao "copy as table"
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
screen.c
@@ -244,6 +244,12 @@ LIB3270_EXPORT void lib3270_get_screen_size(H3270 *h, int *r, int *c) | @@ -244,6 +244,12 @@ LIB3270_EXPORT void lib3270_get_screen_size(H3270 *h, int *r, int *c) | ||
244 | *c = h->cols; | 244 | *c = h->cols; |
245 | } | 245 | } |
246 | 246 | ||
247 | +LIB3270_EXPORT int lib3270_get_width(H3270 *h) | ||
248 | +{ | ||
249 | + CHECK_SESSION_HANDLE(h); | ||
250 | + return h->cols; | ||
251 | +} | ||
252 | + | ||
247 | void update_model_info(H3270 *session, int model, int cols, int rows) | 253 | void update_model_info(H3270 *session, int model, int cols, int rows) |
248 | { | 254 | { |
249 | if(model == session->model_num && session->maxROWS == rows && session->maxCOLS == cols) | 255 | if(model == session->model_num && session->maxROWS == rows && session->maxCOLS == cols) |