forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
menuconfig: Small Space/Enter improvement + fix for obscure bug
Update menuconfig (and Kconfiglib, just to sync) to upstream revision 7e0b9f7ae1, to get these commits in: menuconfig: Improve space/enter behavior slightly Space toggles value is possible, and enters menus otherwise. Enter works the other way around. Make this explicit in the code, which also fixes some corner cases, like space doing nothing on a y-selected menuconfig symbol. ------------------------------------------------------------------- menuconfig: Fix display issue for unsatisfied-deps selected symbol with children A symbol with unsatisfied direct dependencies can end up with visible children in an implicit submenu if it is selected (though that generates a warning), so the optimization in _shown_nodes() isn't safe, and causes the child nodes to not be shown outside show-all mode. Just remove the optimization. Trying things out some more, everything's plenty fast enough anyway. Checking the direct dependencies of the parent instead would be safe. The menu path now says "(Top)" instead of "(top menu)" too, which is a bit more compact. Make the same change in genrest.py. Signed-off-by: Ulf Magnusson <[email protected]>
- Loading branch information
Showing
3 changed files
with
199 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.