[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25753: 25.2; Python mode shell interaction not working 100%
From: |
Carlos Pita |
Subject: |
bug#25753: 25.2; Python mode shell interaction not working 100% |
Date: |
Sun, 3 Oct 2021 21:46:37 -0300 |
Regarding my issue, short of resetting the entire inputrc config
somehow, one can workaround the problem by changing:
(comint-redirect-finished-regexp
"1__dummy_completion__[[:space:]]*\n")
to:
(comint-redirect-finished-regexp
"1__dummy_completion__.*\n")
This is in order to match outputs like:
0__dummy_completion__ [0m [K 1__dummy_completion__ [0m [K
Given the fragility of all this, I think it's better not to be too
picky regarding the matching condition, which is selective enough
without enforcing spaces at the end. So I propose that minimal change.