alecthomas / alecthomas/devtodo2

A visual difference between done and not-done tasks

Đang mở
#38 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
110
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.