
From: Simon Glass <sjg@chromium.org> Now that the truetype console properly handles clearing text from the display during editing, we don't need to clear the character when processing a backspace. This allows arrow keys to work as expected on the truetype console. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/video/console_truetype.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c index a42ae318fc8..4ddf133f2e0 100644 --- a/drivers/video/console_truetype.c +++ b/drivers/video/console_truetype.c @@ -590,10 +590,6 @@ static int console_truetype_backspace(struct udevice *dev) else xend = vid_priv->xsize; - video_fill_part(vid_dev, VID_TO_PIXEL(pos->xpos_frac), pos->ypos, - xend, pos->ypos + vc_priv->y_charsize, - vid_priv->colour_bg); - /* Move the cursor back to where it was when we pushed this record */ vc_priv->xcur_frac = pos->xpos_frac; vc_priv->ycur = pos->ypos; -- 2.43.0