Skip to content

[1.6.1] Chart output corrupts after a few minutes on macOS? #166

Description

@quinncomendant

I recently upgraded ttyplot on macOS from 1.5.2 to 1.6.1 (via brew upgrade), and the new version displays some misplaced character artifacts in the chart after a few minutes of running. I use this command:

ping -i .1 8.8.8.8 | sed -u 's/^.*time=//g; s/ ms//g; s/^.*timeout.*$//g' | ttyplot -t "ping to 8.8.8.8" -u ms

I've run the first part of the command simutaneously in a separate window to view the input data to ensure it is not causing ttyplot to become corrupted, and it does not: each line contains just one numeric value.

The chart starts out displaying correctly:

Screenshot 2024-01-17 at 19 39 26

But after a few minutes, once the variation in values changes enough for ttyplot to rescale the chart, it can look like this:

Screenshot 2024-01-17 at 19 56 03

Since this was not happening with ttyplot version 1.5.2, it must be something with the new version (which has a new plotting algorithm?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions