James Edward Gray II wrote:
>
> My biggest problem here is that I'm trying to keep HighLine pretty  
> cross-platform (Unix and Windows is enough for me).  I understand the  
> method you just posted, but if anyone can tell me the Window's  
> equivalent it would sure help me along...

You can see that in my other response.

Something else I was just thinking is that if you could get the Unix 
version of getch as a proc object, it could be used instead of the 
Win32API version I used. I believe that can be gotten from the Curses 
library.

That would minimize the difference between each platform, and wouldn't 
require external programs like Vincent's does.

My only concern would be whether the enter key was always decimal 13 on 
each machine...I do know that newlines in text files on each platform 
are different (CRLF on Windows, CR in Unix, LF in Mac...though maybe OS 
X is like Unix.)

Ryan