Skip to content

Feature request: Add option to suppress Windows 10 startup warning in qodercli #4

@nichengfuben

Description

@nichengfuben

Problem

When launching qodercli on Windows 10, the following warning is displayed every single time:

⚠ Warning: Windows 10 detected. Some UI features like smooth scrolling may be degraded. Windows 11 is recommended for the best experience.

This warning is hardcoded in the qodercli binary and cannot be disabled through any configuration option.

Details

After inspecting the binary, I found that the warning is generated by a function that checks os.release() for 10.0.x < 22000. The warning is added with priority: "high" to the startupWarnings array.

Unlike low priority warnings (which are automatically dismissed after 3 displays via startupWarningCounts), high priority warnings persist on every launch.

Request

Please consider one of the following:

  1. Add a configuration option (e.g., in settings.json or via CLI flag like --suppress-startup-warnings) to hide this warning.
  2. Reduce the priority to low so it auto-dismisses after a few launches.
  3. Add an environment variable (e.g., QODER_SUPPRESS_WARNINGS=1) to skip all startup warnings.

Environment

  • qodercli version: 0.2.6
  • OS: Windows 10 (build < 22000)
  • Terminal: Git Bash (msys)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions