Skip to content

Inserted code line messes up the downwards coloring #80

Description

@sskras

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:
image

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:
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions