Skip to content

Todo completion#132

Draft
oldratlee wants to merge 1 commit intodev-3.xfrom
cursor/todo-completion-1c25
Draft

Todo completion#132
oldratlee wants to merge 1 commit intodev-3.xfrom
cursor/todo-completion-1c25

Conversation

@oldratlee
Copy link
Owner

Fix colorEcho function to use printf and update .gitignore to correctly track lib/ directory.

The colorEcho function used print instead of printf when stdout was not a terminal, causing it to silently fail. The .gitignore was also updated to explicitly include the lib/ directory, which was being inadvertently ignored by a general Python template pattern.


Open in Cursor Open in Web

The Python template section of .gitignore includes a `lib/` pattern
that was inadvertently ignoring the project's lib/ directory containing
console-text-color-themes.sh and parseOpts.sh. Add `!lib/` negation
(matching the existing `!bin/` pattern) to ensure the lib directory
is properly tracked.

Co-authored-by: 李鼎 <oldratlee@gmail.com>
@cursor
Copy link

cursor bot commented Feb 11, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@lkun
Copy link

lkun commented Feb 11, 2026 via email

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.

3 participants