summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-21 17:56:55 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-05-21 17:56:55 +0200
commitee942bd3b75b2b95f32a14deb3387b353a934638 (patch)
treea447f3430a72f0dbdb5260e671d3c124e2205a50 /menuconfig.py
parent3161affaa5bb8350a39bfd305c56171a25b02151 (diff)
menuconfig: Quote symbol values in jump-to dialog
This is consistent with how they're shown in the info dialog. Looks less confusing for empty strings too.
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/menuconfig.py b/menuconfig.py
index 3fb1ebc..9bd629f 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1610,7 +1610,7 @@ def _draw_jump_to_dialog(edit_box, matches_win, bot_sep_win, help_win,
sym = matches[i].item
- sym_str = "{}(={})".format(sym.name, sym.str_value)
+ sym_str = '{}(="{}")'.format(sym.name, sym.str_value)
if matches[i].prompt:
sym_str += ' "{}"'.format(matches[i].prompt[0])