From ee942bd3b75b2b95f32a14deb3387b353a934638 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 21 May 2018 17:56:55 +0200 Subject: 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. --- menuconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menuconfig.py') 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]) -- cgit v1.2.3