From 69c955ff618e30f704033038fa467be98af07c90 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 12 Jan 2020 10:29:45 +0100 Subject: menuconfig: Remove some double blank lines Clear enough with the comment style. Shortens things a bit. --- menuconfig.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'menuconfig.py') diff --git a/menuconfig.py b/menuconfig.py index 0338c03..8070816 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1339,7 +1339,6 @@ def _draw_main(): term_width = _width(_stdscr) - # # Update the separator row below the menu path # @@ -1386,7 +1385,6 @@ def _draw_main(): _menu_win.noutrefresh() - # # Update the bottom separator window # @@ -1411,7 +1409,6 @@ def _draw_main(): _bot_sep_win.noutrefresh() - # # Update the help window, which shows either key bindings or help texts # @@ -1432,7 +1429,6 @@ def _draw_main(): _help_win.noutrefresh() - # # Update the top row with the menu path. # @@ -2292,7 +2288,6 @@ def _draw_jump_to_dialog(edit_box, matches_win, bot_sep_win, help_win, edit_width = _width(edit_box) - 2 - # # Update list of matches # @@ -2323,7 +2318,6 @@ def _draw_jump_to_dialog(edit_box, matches_win, bot_sep_win, help_win, matches_win.noutrefresh() - # # Update bottom separator line # @@ -2336,7 +2330,6 @@ def _draw_jump_to_dialog(edit_box, matches_win, bot_sep_win, help_win, bot_sep_win.noutrefresh() - # # Update help window at bottom # @@ -2348,7 +2341,6 @@ def _draw_jump_to_dialog(edit_box, matches_win, bot_sep_win, help_win, help_win.noutrefresh() - # # Update edit box. We do this last since it makes it handy to position the # cursor. @@ -2488,7 +2480,6 @@ def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, text_win_height, text_win_width = text_win.getmaxyx() - # Note: The top row is deliberately updated last. See _draw_main(). # @@ -2502,7 +2493,6 @@ def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, text_win.noutrefresh() - # # Update bottom separator line # @@ -2515,7 +2505,6 @@ def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, bot_sep_win.noutrefresh() - # # Update help window at bottom # @@ -2527,7 +2516,6 @@ def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, help_win.noutrefresh() - # # Update top row # @@ -2943,7 +2931,6 @@ def _edit_text(c, s, i, hscroll, width): max_scroll = max(len(s) - width + 1, 0) hscroll = min(i - width + _SCROLL_OFFSET + 1, max_scroll) - return s, i, hscroll -- cgit v1.2.3