Pranav Lal, le dim. 30 mars 2025 17:58:53 +0530, a ecrit:
> However, I do not see the text being written to the display.
> 
> import brlapi
> 
> import errno
> 
> import Xlib.keysymdef.miscellany
> import time
> try:
>       b = brlapi.Connection()
> 
>       print("Server version " +
> str(b.getParameter(brlapi.PARAM_SERVER_VERSION, 0, brlapi.PARAMF_GLOBAL)))
> 
>       print("Display size " +
> str(b.getParameter(brlapi.PARAM_DISPLAY_SIZE, 0, brlapi.PARAMF_GLOBAL)))
> 
>       b.writeText("hello")

As shown in the pydoc3 brlapi example, you need to call b.enterTtyMode()
first.

Samuel
_______________________________________________
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

Reply via email to