rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

[Feature] Use refined Kconfiglib for improved rendering and configuration processing

Open jserv opened this issue 2 months ago • 6 comments

Describe problem solved by the proposed feature

The Kconfiglib package available on PyPI is no longer actively maintained. In contrast, the fork at sysprog21/Kconfiglib enhances the TUI to align more closely with the Linux kernel’s menuconfig, fixes several bugs, and preserves full compatibility with the Kconfig language.

Describe your preferred solution

The screenshot below illustrates the improved TUI, including clearer window borders, drop shadows, and a functional scrollbar.

Image

The screenshots below illustrate the improved user interface of guiconfig.py, bringing it closer to the professional standard of the Linux kernel’s qconf (make xconfig). In addition, it introduces dark/light theme switching for guiconfig, featuring a blue color scheme for consistent cross-platform styling.

Image Image

The configurator can use the sysprog21/Kconfiglib package instead of the unmaintained Kconfiglib, while still processing all existing configurations correctly.

Describe possible alternatives

No response

jserv avatar Oct 05 '25 15:10 jserv

Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort?

Rbb666 avatar Oct 15 '25 04:10 Rbb666

@ComerLater 大佬可以帮忙一起看看这个建议呀~

Rbb666 avatar Oct 15 '25 04:10 Rbb666

Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort?

If the refined sysprog21/Kconfiglib fits well with RT-Thread, I plan to contribute the corresponding pull request(s) for integration.

jserv avatar Oct 15 '25 04:10 jserv

Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort?

If the refined sysprog21/Kconfiglib fits well with RT-Thread, I plan to contribute the corresponding pull request(s) for integration.

Thank you very much. I will contact the maintainer of this module to discuss whether any modifications are needed.

Rbb666 avatar Oct 15 '25 04:10 Rbb666

Thank @jserv , I have assigned copilot to make a PR #10845 .

BernardXiong avatar Oct 25 '25 01:10 BernardXiong

Dear @jserv Could you please review the PR #10845 ? Any suggestions are very welcome! Thank you very much.

BernardXiong avatar Nov 16 '25 14:11 BernardXiong