Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Disable/Turn Off Notcurses Performance Logs? #2827

Closed
GwenOrange opened this issue Jan 2, 2025 · 1 comment
Closed

How to Disable/Turn Off Notcurses Performance Logs? #2827

GwenOrange opened this issue Jan 2, 2025 · 1 comment
Assignees
Labels
userquestion not quite bugs--inquiries from users
Milestone

Comments

@GwenOrange
Copy link

GwenOrange commented Jan 2, 2025

Hello,

I am a novice developer working on my first project using your Notcurses library. I noticed that detailed performance logs are output every time I run the project, such as:

截图_选择区域_20250102112609

I would like to ask if there is a way to disable or turn off these performance report logs? I have not found any relevant configuration in the project documentation or README.

I also have a small question about cursor blinking. In my input box component implementation, I created a dedicated plane for cursor blinking, but each blink triggers a full render using notcurses_render(nc), resulting in excessive rendering operations and performance overhead.

How can I implement an efficient cursor blinking mechanism in Notcurses?

图片

Thank you very much for your help!

@GwenOrange GwenOrange added the userquestion not quite bugs--inquiries from users label Jan 2, 2025
@dankamongmen dankamongmen self-assigned this Jan 2, 2025
@dankamongmen dankamongmen added this to the 3.1.0 milestone Jan 2, 2025
@dankamongmen
Copy link
Owner

hey! those are called the "banners", and you can read about them here:

#define NCOPTION_SUPPRESS_BANNERS 0x0020

just use NCOPTIONS_SUPPRESS_BANNERS with your notcurses_options.flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
userquestion not quite bugs--inquiries from users
Projects
None yet
Development

No branches or pull requests

2 participants