npcole / npyscreen

Automatically exported from code.google.com/p/npyscreen
Other
481 stars 109 forks source link

hightlight titledbox #90

Open arunbm123 opened 4 years ago

arunbm123 commented 4 years ago

hi t = F.add(npyscreen.TitleText, name="Text:", ) I want to 1) Blink the cursor 2)Make background White/highlight to inform user where to start typing

how can do this?

jerome-diver commented 4 years ago

I think you should create a new object who inherit the TitleText, then add a method to make it blink, but then it should be for some tty only, or you would have something universal but with a timer (who is not so good). This timer would be a thread, but Python doesn't have real thread possibility. I'm interested to see how you realize this functionality to.