console-rs / console-rs/console

"Blink" style only blinks when terminal window is focused

Open
#164 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.2k
Forks
144
Avg merge
8h 24m
Merged PRs (30d)
4

Description

Using the "indicatif" crate, I have a progress bar set to blink. If the terminal window is focused, the blink works, but if another window is focused, the text won't blink. It will stay normal/dimmed until I click/alt-tab back into the terminal window.

Running on Windows 10.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the blink behavior with the indicatif crate on Windows 10, comparing a focused terminal with an unfocused one. Trace the console and terminal handling involved in blink styling. Done means the progress-bar text continues blinking when the terminal window is not focused.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.