I tried using threads but they don't execute in the background or i simply am not using them correct.
for bigger picture you can see the code uploaded on my github account https://github.com/egzoti4en/MPG123FrontEnd.
I'm trying to count the time that the song has lasted and to draw a status line of it. This what i want to do in this sub and that is why i need a sleep activity to make it sleep and then draw using Curses.(the sub is called status_line()
I have alredy done almost everything so GUI is not an option for me now
In reply to Re^2: Execute a sub in the background
by egzoti4en
in thread Execute a sub in the background
by egzoti4en
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |