gfxterm: Fix clearing of cursor.
authorVladimir Serbinenko <phcoder@gmail.com>
Tue, 31 Jan 2017 17:49:37 +0000 (18:49 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Tue, 31 Jan 2017 17:49:37 +0000 (18:49 +0100)
commit6f5aa28bc239a35fc3dd64055179cf2993be2954
tree1e1a61f12c28e655354ae6051e24649bc3f8fdda
parenta134ef1ab92c0c0cd35d263301ef9acd77f3160f
gfxterm: Fix clearing of cursor.

If ascent is bigger than height - 2, then we draw over character box but then
to clear cursor we only draw over character box. So trim ascent if necessarry.
grub-core/term/gfxterm.c