Skip to content

fix: remove leftover [RATE] debug fprintfs from CAPI#43

Closed
willwade wants to merge 1 commit into
mainfrom
fix/remove-rate-debug-fprintfs
Closed

fix: remove leftover [RATE] debug fprintfs from CAPI#43
willwade wants to merge 1 commit into
mainfrom
fix/remove-rate-debug-fprintfs

Conversation

@willwade

Copy link
Copy Markdown

Two debug fprintf(stderr, ...) statements were left in the CPS/WPM rate-tracking code (added in #42 / v0.1.8):

  1. editOutput (line 478): fired on every character push — one fprintf per keystroke
  2. getCps (line 1842): fired on every CPS read

Both spam stderr in production builds. Removed both lines; no logic change.

Found by @owenpkent in Dasher-GTK #35 comment.

Two debug fprintf(stderr, ...) statements were left in the CPS/WPM
rate-tracking code (added in v0.1.8, #42):
- editOutput: fired on every character push (line 478)
- getCps: fired on every CPS read (line 1842)

Both spam stderr in production. Removed.

Signed-off-by: will wade <willwade@gmail.com>
@willwade

Copy link
Copy Markdown
Author

Superseded by #45 which includes the same fprintf removal plus the new dasher_reset_cps() function.

@willwade willwade closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant