Skip to content

Commit 92f8a92

Browse files
rddunlapmasahir0y
authored andcommitted
kconfig: highlight xconfig 'comment' lines with '***'
Mark Kconfig "comment" lines with "*** <commentstring> ***" so that it is clear that these lines are comments and not some kconfig item that cannot be modified. This is helpful in some menus to be able to provide a menu "sub-heading" for groups of similar config items. This also makes the comments be presented in a way that is similar to menuconfig and nconfig. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 5fb35ec commit 92f8a92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/kconfig/qconf.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ void ConfigItem::updateMenu(void)
122122
goto set_prompt;
123123
case P_COMMENT:
124124
setIcon(promptColIdx, QIcon());
125+
prompt = "*** " + prompt + " ***";
125126
goto set_prompt;
126127
default:
127128
;

0 commit comments

Comments
 (0)