On Thu, Mar 16, 2023 at 5:00 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > > Joakim Petersen <joak-pet@xxxxxxxxx> writes: > > > I've played around a bit with this patch, and it seems to work as > > advertised. > > As the change itself is so trivial and likely to exhibit problem > immediatly if it were not right (e.g. for some version of the shell > but not for others), let's queue it. For the record, it's not even the shell, it's the readline library, and those markers are present since the initial import in 2011: https://git.savannah.gnu.org/cgit/readline.git/tree/readline.h?id=06cd36cdc90634c88636a6d09230c573078ead0e#n282 #define RL_PROMPT_START_IGNORE '\001' #define RL_PROMPT_END_IGNORE '\002' -- Felipe Contreras