Dear all,
An installer that I have to use makes it impossible to read screen
content. The attached Python script reproduces the issue.
The script does two things and both seem to be problematic.
First:
print("\033%@")
I think this is to switch terminals to ISO 8859-1 so that they can draw
characters. this line is enough to get the "can't read screen content"
message, even if the rest of the script is commented out.
But, even without this line, the rest of the script, which depends on
the python3-newt package:
screen = SnackScreen()
screen.drawRootText(0, 0, "Hellow, world")
input("Press Enter to exit...")
screen.finish()
seems to cause problems too, as it seems that pressing the Enter key
does not end the script.
What should be done to fix this either on BRLTTY's side or on the
installer's side?
Thanks,
Seb.
#!/usr/bin/env python3
from snack import SnackScreen
print("\033%@")
screen = SnackScreen()
screen.drawRootText(0, 0, "Hellow, world")
input("Press Enter to exit...")
screen.finish()
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty