[quake3-bugzilla] [Bug 4799] Client tty console (con_tty.c) buggy [patch attached]

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Mon Nov 29 01:06:12 EST 2010


http://bugzilla.icculus.org/show_bug.cgi?id=4799

--- Comment #3 from Rambetter <nlandys at gmail.com> 2010-11-29 01:06:06 EST ---
I have updated my patch with 2 additional fixes:

1. On tty console init (CON_Init()), don't print backspace characters to
terminal before console prompt is displayed.  When backspace characters
are printed before the prompt is displayed, output of ioq3ded in a screen
session looks ugly on the line where the console activity starts.  Also
it's just incorrect to do this.

2. On tty console shutdown (CON_Shutdown()), the old behavior:
      - Type backspaces to delete the width of the console prompt regardless
        of whether console is currently being shown (CON_Show()).
   New behavior:
      - Type backspaces to delete the width of console prompt in addition
        to width of text in the command buffer, and only do this if console is
        currently shown.  In other words, use CON_Hide().

3. (Not important) Adding comments to CON_Init() and CON_Shutdown() at the
top of these functions to describe that these functions are meant to be called
just once during the lifetime of the application, at application start and
at application end.

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list