diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2020-01-12 10:29:45 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2020-01-12 10:31:11 +0100 |
| commit | 69c955ff618e30f704033038fa467be98af07c90 (patch) | |
| tree | 81d70c1b00678134f2b0d033127f5f3bf8cc7b99 | |
| parent | c49bbbbe35e725a75bc6c2fa08ed957ab3f73fcb (diff) | |
menuconfig: Remove some double blank lines
Clear enough with the comment style. Shortens things a bit.
| -rwxr-xr-x | menuconfig.py | 13 |
1 files changed, 0 insertions, 13 deletions
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 |
