mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Staging: speakup: fix read scrolled-back VT
Previously, speakup would always read the non-scrolled part of the VT, even when the VT is scrolled back with shift-page. This patch makes vt.c export screen_pos so that speakup can use it to properly access the content of the scrolled-back VT. This was tested with both vgacon and fbcon. Signed-off-by: Samuel Thibault <[email protected]> Reviewed-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
327b882d3b
commit
88867e3d0b
2 changed files with 14 additions and 8 deletions
|
|
@ -4250,6 +4250,7 @@ unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed)
|
|||
{
|
||||
return screenpos(vc, 2 * w_offset, viewed);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(screen_pos);
|
||||
|
||||
void getconsxy(struct vc_data *vc, unsigned char *p)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue