video: truetype: Avoid clearing on backspace
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>
This commit is contained in:
@@ -590,10 +590,6 @@ static int console_truetype_backspace(struct udevice *dev)
|
|||||||
else
|
else
|
||||||
xend = vid_priv->xsize;
|
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 */
|
/* Move the cursor back to where it was when we pushed this record */
|
||||||
vc_priv->xcur_frac = pos->xpos_frac;
|
vc_priv->xcur_frac = pos->xpos_frac;
|
||||||
vc_priv->ycur = pos->ypos;
|
vc_priv->ycur = pos->ypos;
|
||||||
|
|||||||
Reference in New Issue
Block a user