Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d6f46c8 in mainline


Ignore:
Timestamp:
2021-03-01T22:22:52Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
760a392
Parents:
cd74fa8
Message:

Remove forgotten console calls. Allow use of last line of console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/congfx/src/console.c

    rcd74fa8 rd6f46c8  
    164164        cgc->rect.p0.y = 0;
    165165        cgc->rect.p1.x = cols;
    166         cgc->rect.p1.y = rows - 1; /* make sure we avoid bottom-right corner */
     166        cgc->rect.p1.y = rows;
    167167        cgc->buf = buf;
    168168
     
    313313                /* Simple copy */
    314314                for (y = crect.p0.y; y < crect.p1.y; y++) {
    315                         console_set_pos(cbm->cgc->con, crect.p0.x, y);
    316 
    317315                        for (x = crect.p0.x; x < crect.p1.x; x++) {
    318316                                clr = pixelmap_get_pixel(&pixelmap,
     
    350348        } else {
    351349                /* Color key & colorize */
    352                 console_set_rgb_color(cbm->cgc->con, cbm->cgc->clr,
    353                     cbm->cgc->clr);
    354350                ch.ch = 0;
    355351                ch.flags = CHAR_FLAG_DIRTY;
Note: See TracChangeset for help on using the changeset viewer.