pimutils / pimutils/khal

Formatting doesn't work with `watch`

Open
#811 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pri:Low type: bug
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

When using watch --color khal calendar the formatting (bold text and colors) doesn't seem to work.

I don't know exactly if this is an issue with khal or if it is one with watch. But watch does work for me with other programs (for example todotxt doesn't lose its color or boldness), so I am guessing khal is doing something differently here.

Using khal without watch (even with sh) works as expected. Does someone have an idea what the problem could be?

Contributor guide

Open the contributing guide

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 watch --color khal calendar and compare it with khal run directly or through sh, as described in the issue. Trace the CLI output and color-handling entry points to determine where formatting is lost; done means bold text and colors remain visible under watch without breaking the direct command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.