dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/support console.c,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/support console.c,1.2,1.3
Date: Fri, 07 Nov 2003 05:18:38 +0000

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv17343/support

Modified Files:
        console.c 
Log Message:


ILConsoleWriteChar: the backspace character '\u0008' should not erase
by default when output.


Index: console.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/console.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** console.c   6 Nov 2003 00:19:18 -0000       1.2
--- console.c   7 Nov 2003 05:18:36 -0000       1.3
***************
*** 1204,1210 ****
                        if(screenX > 0)
                        {
!                               putc(0x08, stdout);
!                               putc(0x20, stdout);
!                               putc(0x08, stdout);
                                --screenX;
                        }
--- 1204,1211 ----
                        if(screenX > 0)
                        {
!                               if(!OutputStringCap("bc"))
!                               {
!                                       putc(0x08, stdout);
!                               }
                                --screenX;
                        }
***************
*** 1216,1228 ****
                                {
                                        /* The terminal will wrap to the 
previous line for us */
!                                       putc(0x08, stdout);
!                                       putc(0x20, stdout);
!                                       putc(0x08, stdout);
                                }
                                else
                                {
                                        /* Simulate a wrap back to the previous 
line */
-                                       ILConsoleSetPosition(screenX, screenY);
-                                       putc(0x20, stdout);
                                        ILConsoleSetPosition(screenX, screenY);
                                }
--- 1217,1228 ----
                                {
                                        /* The terminal will wrap to the 
previous line for us */
!                                       if(!OutputStringCap("bc"))
!                                       {
!                                               putc(0x08, stdout);
!                                       }
                                }
                                else
                                {
                                        /* Simulate a wrap back to the previous 
line */
                                        ILConsoleSetPosition(screenX, screenY);
                                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]