Skip to content

[CLI] Output artifact on Linux/WSL ("modetream" text overlap) #2017

@niscollect

Description

@niscollect

Description

When running CCExtractor on Linux/WSL, the status message "Analyzing data in general mode", which is the output text for "General Mode" is corrupted.

This happens possibly because the new string is shorter than the previous one, and the terminal line is not cleared before printing. The tail of the previous message seems to be remaining, resulting in the text modetream.

Steps to Reproduce

  1. Run CCExtractor on a transport stream file (e.g., ./ccextractor test.ts).
  2. Watch the terminal output during the initial analysis phase.

Expected Behavior

The line should be cleared completely before printing the new status message, ensuring no artifacts remain. And print: "Analyzing data in general mode"

Actual Behavior

The text merges to form modetream (or similar overlaps depending on the mode). And prints: "Analyzing data in general modetream"

Screenshots

Image

Environment

  • OS: Linux (WSL)
  • Version: Master branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions