I'm not sure, but perhaps curses would help you to put things at exact
places on the screen.

https://github.com/ruby/curses

Abinoam Jr.

On Sun, Dec 7, 2014 at 10:44 AM, Cynic limbu <cyniclimbu / gmail.com> wrote:
> My code goes here - http://pastebin.com/yCkqiR4M
>
> I'm new to threading and also new to animations.
>
> I'm trying to run a thread that prints out the time in (H:M:S) format.
>
> Can you look at it and say something about it?
> I want the clock to run on it's own part of the screen without
> interfering with my "what's your name?" thing.
>
> When I run the code this is what happens (and let's think, for now I
> type my name as "lol")
>
> Current time - 12:27:31
> What's your name?
> Current time - 12:27:39ol #"ol" when i typed "lol"
> lol is a nice name
> Current time - 12:28:55
>
> And yes, I'm new to "\r" carriage return too.