[haiku-bugs] Re: [Haiku] #6510: terminal not handling color sequences properly

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Nov 2010 19:33:57 -0000

#6510: terminal not handling color sequences properly
------------------------------------+------------------------------
  Reporter:  augiedoggie            |        Owner:  pulkomandy
      Type:  bug                    |       Status:  assigned
  Priority:  normal                 |    Milestone:  R1
 Component:  Applications/Terminal  |      Version:  R1/Development
Resolution:                         |     Keywords:
Blocked By:                         |  Has a Patch:  0
  Platform:  All                    |     Blocking:
------------------------------------+------------------------------

Comment (by pulkomandy):

 The first screenshot/bug (the most annoying and dangerous) should now be
 fixed. Tab chars at the start of a line tried to read something in the
 previous char when there was none, leading to unitialized memory being
 read.

 The second one is not fixed. Basically, when the sequence is 'insert a
 color change', followed by 'insert a newline', the new color isn't taken
 into account until after the newline was inserted. I believe the same
 happens with some commands that make the cursor move around (ansi escape
 moves). This is because a newline only moves the cursor, but doesn't
 insert any character. I tried inserting an \0 (null char) but that didn't
 work. So I'm not sure what to do for this one.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6510#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: