fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
278 stars 62 forks source link

Add clear screen from cursor down, and from cursor up #19

Closed trondd555 closed 4 years ago

trondd555 commented 5 years ago

Fix clear line left and right of cursor to include the space the cursor is on. This mimics what XTerm does. Also fixes incorrect calculation where FONTWIDTH was used instead of FONTHEIGHT.

Make [J and [K do the same as [0J and [0K

Tested on RC2014 with GFX_USE_DMA set to OFF. DMA causes a lot of cursor artifacts.