You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
mc version: 4.8.15
This is happened when there is a long command in history and i navigate in it with up and down arrow keys...
This happened only in the mc bash subshell (Ctrl-o)
In fact, after some research, mc subshell does'nt like the "tput setab num_color" or "tput setaf num_colo" in PS1.
Is there a way to do it accept it ?
Thanks
So why can't you simply use ANSI escapes instead? Somehow, I'm not surprised that complex stuff in PS1 like tput is causing problems, even though I don't know exactly why. Also, did you try current master? The subshell hook was revised after 4.8.15.
@rcspam Quick question: are you surrounding the tputs with \[ and \] ? (or, \x01 and \x02 depending on context)
From man bash
\[ begin a sequence of non-printing characters, which could
be used to embed a terminal control sequence into the
prompt
\] end a sequence of non-printing characters
mc version: 4.8.15

This is happened when there is a long command in history and i navigate in it with up and down arrow keys...
This happened only in the mc bash subshell (Ctrl-o)