mono / sdb

A command line client for the Mono soft debugger.
https://www.mono-project.com
MIT License
116 stars 44 forks source link

Prompt is printed strangely when using Mono.Terminal and with colors enabled #22

Open alexrp opened 9 years ago

alexrp commented 9 years ago

A bunch of extra white space is added after the prompt. Only happens when colors are enabled. Seems to happen on all OSs when Mono.Terminal is used.

alexrp commented 9 years ago

Example:

Welcome to the Mono soft debugger (sdb 1.4.5485.30864)   
Type 'help' for a list of commands or 'quit' to exit     

(sdb)          cfg list
...
elbeardmorez commented 9 years ago

on my GNU/Linux box, I had this behaviour before installing libedit library. incidentally, i had to manually link (ln -s /path/to/libedit.so.0.0.36 /path/to/sdb/libedit.so.2) the library as I couldn't find the ABI version searched for (.so.2). note also that the fairly standard path /usr/local/lib64 wasn't searched (according to strace) so perhaps a build dependency is in need :)

saper commented 9 years ago

Same here with the FreeBSD install. I have edited bin/sdb.exe.config to point to libedit.so and it was fine after that.

After that also tests started to work.

alexrp commented 9 years ago

Yes, this issue is specifically about the managed Mono.Terminal.LineEditor class.