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

Closed
opened 2026-01-29 16:56:32 +00:00 by claunia · 0 comments
Owner

Originally created by @niscollect on GitHub (Jan 11, 2026).

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
Originally created by @niscollect on GitHub (Jan 11, 2026). ## **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** <img width="949" height="360" alt="Image" src="https://github.com/user-attachments/assets/8df82a34-1deb-45d5-80c0-9f65930c05b0" /> ## **Environment** * OS: Linux (WSL) * Version: Master branch
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#901