-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with colored prompt #19
Comments
Ah I know this one, never bothered too much with it. Moving to the local is a good idea. |
This fixes gdbinit#19.
Just came across this project and I really like what you have done, thanks for all the effort. Here is info on how to fix the readline problem: http://www.dirac.org/linux/gdb/03-Initialization,_Listing,_And_Running.php#acaveatforcoloredgdbprompts Mine is set to the following and readline works correctly (changed to yellow prompt, but otherwise illustrates the point.) |
An easier fix for this is simply adding
|
Hi!
I had the need to disable the colored prompt because of the following bug: using
ctrl + A
to go to the beginning of the line "fails" when using a colored prompt. It instead goes to an offsetted position (probably because of the color escape codes) and modifying the line becomes quite tedious. Then scrolling up to the previous command and down again to get an empty prompt also leads to an offsetted prompt that can't be fully erased:Sorry for the obfuscated description ;-) I don't know if this is easily soluble, but the least I could do was report it.
The text was updated successfully, but these errors were encountered: