Commit 259a6e1c6c2e89b3052f6e6cb23086d76b270911
1 parent
ff15847d
Exists in
master
and in
3 other branches
Implementando suporte para os botões full/unfullscreen
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
screen.c
... | ... | @@ -86,6 +86,10 @@ static unsigned short color_from_fa(unsigned char fa); |
86 | 86 | |
87 | 87 | static void addch(H3270 *session, int baddr, unsigned char c, unsigned short attr) |
88 | 88 | { |
89 | + // If set to keep selection adjust corresponding flag based on the current state | |
90 | + if(lib3270_get_toggle(session,LIB3270_TOGGLE_KEEP_SELECTED)) | |
91 | + attr |= (session->ea_buf[baddr].attr & LIB3270_ATTR_SELECTED); | |
92 | + | |
89 | 93 | if(session->ea_buf[baddr].chr == c && session->ea_buf[baddr].attr == attr) |
90 | 94 | return; |
91 | 95 | ... | ... |