taitd
2018-05-28 08:51:04 UTC
Hi there,
I have problem with updating screen automatically. I have one client
receiving information from one server and saving the information to a file.
My server will send new information every 1 second so my file will be
update new content after every 1 second. My program using urwid has to
show file content on a status screen dynamically. It means the status
screen has to show the content which will be modified every second. But the
status screen is only updated when I press a key which is used to update
screen. I wonder if there is any way to update screen automatically? Could
you give me an example to solve my problem?
Thank you.
I have problem with updating screen automatically. I have one client
receiving information from one server and saving the information to a file.
My server will send new information every 1 second so my file will be
update new content after every 1 second. My program using urwid has to
show file content on a status screen dynamically. It means the status
screen has to show the content which will be modified every second. But the
status screen is only updated when I press a key which is used to update
screen. I wonder if there is any way to update screen automatically? Could
you give me an example to solve my problem?
Thank you.
--
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.
You received this message because you are subscribed to the Google Groups "Urwid Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urwid+***@excess.org.
To post to this group, send email to ***@excess.org.
For more options, visit https://groups.google.com/a/excess.org/d/optout.