By the way, see patches (thx to Egmont) for mc and slang, adding support for truecolor - http://www.midnight-commander.org/attachment/ticket/3145/slang-truecolor-demo.patch + http://www.midnight-commander.org/attachment/ticket/3145/mc-truecolor-demo.patch from this bug - http://www.midnight-commander.org/ticket/3145#comment:1
Okay, fish_prompt_mc
is from midnight commander.
That injects this function into fish's stdin and expects it to execute because it ends with a "\n". Do you have "\n" bound to "execute"? bind \n
should tell you.
Also, especially if you are not using mc, do you use any third-party customization? Any plugins, themes, prompts etc from someone else? Some of these also add bindings (even some prompts).
Do you use vi-mode? Does this only occur in normal-mode? Which fish version is this?