dm: video: Sync display on backspace
We should sync the display (e.g. flush cache) when backspace is pressed to ensure that the character is erased correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
This commit is contained in:
parent
2f0dd5cafe
commit
fb0b709eff
@ -77,6 +77,7 @@ static int vidconsole_back(struct udevice *dev)
|
||||
if (priv->ycur < 0)
|
||||
priv->ycur = 0;
|
||||
}
|
||||
video_sync(dev->parent);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user