id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking branch_state votes 4258 Wrong subshell prompt parsing with fish 3.3.0 olfway andrew_b "Fish 3.3.0 sends \r while printing prompt and mc erases prompt buffer This change was introduced by https://github.com/fish-shell/fish-shell/pull/8011 It starts working after I modify parse_subshell_prompt_string function: {{{ /* Extract the prompt from the shell output */ for (i = 0; i < bytes; i++) - if (buffer[i] == '\n' || buffer[i] == '\r') + if (buffer[i] == '\n') g_string_set_size (subshell_prompt_temp_buffer, 0); else if (buffer[i] != '\0') g_string_append_c (subshell_prompt_temp_buffer, buffer[i]); }}} " defect accepted major Future Releases mc-core master on rework