Changeset 959ef5d in mainline
- Timestamp:
- 2019-11-19T09:20:51Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf22cb78
- Parents:
- 48f7e47
- git-author:
- Jiri Svoboda <jiri@…> (2019-11-18 19:20:48)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-11-19 09:20:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/terminal/terminal.c
r48f7e47 r959ef5d 266 266 sysarg_t sx, sysarg_t sy) 267 267 { 268 bool damage = false;268 bool update = false; 269 269 270 270 sysarg_t front_col; … … 286 286 front_visibility); 287 287 term_update_char(term, pixelmap, sx, sy, back_col, back_row); 288 damage = true;288 update = true; 289 289 } 290 290 … … 293 293 term_update_char(term, pixelmap, sx, sy, back_col, back_row); 294 294 term_update_char(term, pixelmap, sx, sy, front_col, front_row); 295 damage = true;296 } 297 298 return damage;295 update = true; 296 } 297 298 return update; 299 299 } 300 300 … … 315 315 pixelmap.data = alloc.pixels; 316 316 317 bool damage = false;317 bool update = false; 318 318 sysarg_t sx = 0/*term->widget.hpos*/; 319 319 sysarg_t sy = 0/*term->widget.vpos*/; 320 320 321 321 if (term_update_scroll(term, &pixelmap, sx, sy)) { 322 damage = true;322 update = true; 323 323 } else { 324 324 for (sysarg_t y = 0; y < term->rows; y++) { … … 348 348 if (update) { 349 349 term_update_char(term, &pixelmap, sx, sy, x, y); 350 damage = true;350 update = true; 351 351 } 352 352 } … … 355 355 356 356 if (term_update_cursor(term, &pixelmap, sx, sy)) 357 damage = true;358 359 (void) damage; // XXX360 361 fibril_mutex_unlock(&term->mtx); 362 } 363 364 static void term_ damage(terminal_t *term)357 update = true; 358 359 (void) update; // XXX 360 361 fibril_mutex_unlock(&term->mtx); 362 } 363 364 static void term_repaint(terminal_t *term) 365 365 { 366 366 pixelmap_t pixelmap; … … 800 800 getterm(vc, "/app/bdsh"); 801 801 802 term_ damage(term);802 term_repaint(term); 803 803 804 804 *rterm = term;
Note:
See TracChangeset
for help on using the changeset viewer.