pikpik / Msg

A simple IRC program.
0 stars 0 forks source link

Line-editing is Broken on MINIX 3.2.1 and NetBSD 6 #5

Open pikpik opened 11 years ago

pikpik commented 11 years ago

On either MINIX 3.2.1 or NetBSD 6, typing anything moves the cursor further than intended. Deleting characters also moves the cursor and line-editing backwards, wrapping up to the top-left corner of the screen.

pikpik commented 11 years ago

I could support individual platforms or use Curses. Curses should take care of this, but I'd have to rewrite a lot and add another library. I'd like to keep this small though. Maybe I can just use what I need from Curses.

This isatty code might help. It'll let me know if a program is using Msg.