mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

Stray messages are shown in the bash scrollback

Open Wilfred opened this issue 6 years ago • 1 comments

If I run a command in bash:

$ echo goodbye world
goodbye world

I then press Ctrl-r goodbye Ctrl-c, and I see this in my bash session:

$ echo goodbye world
goodbye world
$ #mcfly: 
$  mcfly search
$ 

Wilfred avatar Dec 05 '18 13:12 Wilfred

Those messages are currently expected. The #mcfly: part is an unavoidable (as far as I can tell) part of how you have to hook into the Bash shell. I need to escape any special characters so that they don't execute, and as far as I can tell, the only way to do this with readline is to comment them out. There is conversation in #6 about how to maybe fix this.

cantino avatar Dec 05 '18 18:12 cantino