This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> 1. When you start a bash shell, the cursor flashes at a reasonable > rate, but when you start typing it generally disappears from view. Found it. WriteFile() to the console causes the cursor to dissapear for a bit. Setting the cursor position makes it show up again. Try the attached patch (I'll try it myself later, but the machine is in the middle of a big build I don't want to interrupt). Index: fhandler_console.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler_console.cc,v retrieving revision 1.9 diff -p -2 -r1.9 fhandler_console.cc *** fhandler_console.cc 2000/07/04 02:26:20 1.9 --- fhandler_console.cc 2000/07/26 00:17:37 *************** fhandler_console::write (const void *vsr *** 1237,1240 **** --- 1237,1242 ---- syscall_printf ("%d = write_console (,..%d)", len, len); + cursor_rel (0,0); /* to make cursor appear on the screen immediately */ + return len; } -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |