ivanseidel / ivanseidel/node-draftlog

Output seems to have a bug where some previous chars aren't deleted on update

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
33
PR merge metrics
No merged PRs in 30d

Description

When I run my timer for long enough, it seems to fail to re-render the line resulting in bizzare spelling issues that gradually become gibberish for each update. When the minute count no longer is necessary, the seconds from that format stick around as seen below.

![image](https://user-images.githubusercontent.com/43392498/177935921-a4fc8456-9947-4c01-ade1-499a569abc7f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the timer update for long enough to cross the minute boundary, using the example behavior in the issue as the expected failure. Trace the terminal line-update path and verify that each refresh removes all characters from the previous output, including leftover seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.