summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-04-05 16:16:12 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-04-05 16:16:12 +0200
commit97459947163a631e5aa1dd3635d3adc7e2fadde2 (patch)
treed11e93f6a96635eb7cb0ec2920f0299e5ac49382 /menuconfig.py
parent50173b24d6cd47e2c0e47f85d148316fc5f4d443 (diff)
menuconfig: Make comment re. preserving cursor position more accurate
Items being added above the selected item would mess with the cursor position too, if we didn't compensate.
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/menuconfig.py b/menuconfig.py
index bf8bf31..3021d86 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1610,8 +1610,8 @@ def _update_menu():
# changed. Changing a value might change which items in the menu are
# visible.
#
- # Tries to preserve the location of the cursor when items disappear above
- # it.
+ # If possible, preserves the location of the cursor on the screen when
+ # items are added/removed above the selected item.
global _shown
global _sel_node_i