Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
!
#1
Hi there.

I'm trying to get a monitor screen together with Curses. Thanks to whoever suggested it, it's going to do everything I want when I get it working!

I'm playing about with a load of different settings but can't quite get the result I need.

My code is the basic setup you'll find on many intractable sites:
curses is initialised
the screen updated
>has q been pressed no>
draw a load of strings
wait for the next keypress...

This is great and I can build the screen structure I need. But...

The application is split into two threads, the first runs the curses code, the second runs a socket client that collects data from a number of sources. The data sources are polled every x seconds and I need to feed this data to the screen without waiting for a keypress. But, I do want to capture the keypress event so I can change options.

I'm sure this must be possible, I just can't figure it out from the help, which documents every parameter and setting without actually explaining what they're for!

Many thanks you lovely people.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020