summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2020-01-12 10:29:45 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2020-01-12 10:31:11 +0100
commit69c955ff618e30f704033038fa467be98af07c90 (patch)
tree81d70c1b00678134f2b0d033127f5f3bf8cc7b99 /menuconfig.py
parentc49bbbbe35e725a75bc6c2fa08ed957ab3f73fcb (diff)
menuconfig: Remove some double blank lines
Clear enough with the comment style. Shortens things a bit.
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py13
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