327 posts
Location
Julfander Squad Studio
Posted 12 April 2018 - 08:05 AM
There is currently no way to find out if the cursor is blinking, and I need it for a program I am working on. I think it is only logical to add this function to the term api.
2427 posts
Location
UK
Posted 12 April 2018 - 10:51 AM
If you are using your own terminal objects you can add the function yourself and have the custom term obj track it.
327 posts
Location
Julfander Squad Studio
Posted 12 April 2018 - 12:13 PM
If you are using your own terminal objects you can add the function yourself and have the custom term obj track it.
That's how you can do it, but I intentionally put it in the suggestions and not the ask a pro forum.
Edited on 12 April 2018 - 10:14 AM
2427 posts
Location
UK
Posted 12 April 2018 - 02:21 PM
477 posts
Location
Germany
Posted 12 April 2018 - 06:58 PM
Make a pull request on github with it implememnted.
https://github.com/d...m/apis/term.lua
It might be better to do it on the java side.
The Terminal class already has a
getCursorBlink() Method so it would basically be nearly the same as the already existing
getTextColour() function.(Ofcourse without the encoding of the colour)
Edited on 12 April 2018 - 05:00 PM