Open anthonykim1 opened 8 months ago
Attempted to fix by defining Python prompt
const pythonPrompt = lineText.match(/^(?<prompt>>>> )/g)?.groups?.prompt;
if (pythonPrompt) {
return {
prompt: pythonPrompt,
likelySingleLine: true
};
}
in vscode's commandDetectionCapability, but still getting colorless bubbles. Opting into windows heuristic from the Python extension side and defining Python prompt seemed to make the decoration less randomized, but still getting colorless decoration for Windows pwsh users.
Reference: #22535 https://github.com/microsoft/vscode/issues/199770 This would be making changes in vscode repository for shell integration to get better sense of Python REPL '>>>' prompt.