alecthomas / alecthomas/devtodo2

A visual difference between done and not-done tasks

未关闭
#38 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
110
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

I was thinking if we should do a 'strikethrough' effect on the tasks that are done, it is supported in a lot of terminals. Could use the ANSI escape sequence:

` \e[9m strikedthrough \e[0m`

If the terminal used doesn't have support, we could do a fallback that does the following, albeit pretty ugly:

`'T-e-s-t t-a-s-k t-e-x-t'`

I can do a PR that does this if there is any interest.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。