This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/21689] New: artifacts in prompt rendering when using colors


https://sourceware.org/bugzilla/show_bug.cgi?id=21689

            Bug ID: 21689
           Summary: artifacts in prompt rendering when using colors
           Product: gdb
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: hi-angel at yandex dot ru
  Target Milestone: ---

Steps to reproduce:

1. Start "gdb -nh"
2. Type "set prompt \033[31mgdb λ \033[0m", press enter.
3. Press Ctrl+R, type "hello"
4. Press <Tab>

Result: you'll see the word "hello" at the prompt, even though there's actually
nothing.

FTR: found by using this gdbinit
https://github.com/gdbinit/Gdbinit/blob/master/gdbinit which is very popular.
Surprising that nobody reported.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]