diffr
diffr copied to clipboard
Inserted code line messes up the downwards coloring
If I write this Python code:
print()
subprocess.call(['timew', 'untag', '@1'] + old_tags + [':yes'])
subprocess.call(['timew', 'tag', '@1'] + new_tags + [':yes'])
... and then extend it by inserting a new line and modifying the last two lines the following way:
ids = subprocess.check_output(['timew', 'get', 'dom.tracked.ids'])
print()
subprocess.call(['timew', 'untag'] + ids + old_tags + [':yes'])
subprocess.call(['timew', 'tag'] + ids + new_tags + [':yes'])
Then I get some strange output:

The second subprocess.call() line is colored correctly.
But the first subprocess.call() line seems to get excessive coloring.
The latter gets a bit reduced if I reduce arguments in the new inserted line, eg:

Now if I reduce it even more, colors seem to start working more or less properly:
