##// END OF EJS Templates
histedit: don't assign to _ for unused values...
Augie Fackler -
r47123:8477c91b default
parent child Browse files
Show More
@@ -1615,7 +1615,7 b' pgup/K: move patch up, pgdn/J: move patc'
1615 stdscr.refresh()
1615 stdscr.refresh()
1616 while True:
1616 while True:
1617 try:
1617 try:
1618 oldmode, _ = state[b'mode']
1618 oldmode, unused = state[b'mode']
1619 if oldmode == MODE_INIT:
1619 if oldmode == MODE_INIT:
1620 changemode(state, MODE_RULES)
1620 changemode(state, MODE_RULES)
1621 e = event(state, ch)
1621 e = event(state, ch)
@@ -1630,7 +1630,7 b' pgup/K: move patch up, pgdn/J: move patc'
1630 if size != stdscr.getmaxyx():
1630 if size != stdscr.getmaxyx():
1631 curses.resizeterm(*size)
1631 curses.resizeterm(*size)
1632
1632
1633 curmode, _ = state[b'mode']
1633 curmode, unused = state[b'mode']
1634 sizes = layout(curmode)
1634 sizes = layout(curmode)
1635 if curmode != oldmode:
1635 if curmode != oldmode:
1636 state[b'page_height'] = sizes[b'main'][0]
1636 state[b'page_height'] = sizes[b'main'][0]
General Comments 0
You need to be logged in to leave comments. Login now