Skip to content

Commit e17955e

Browse files
committed
cli: init_wins() colors argument is not used
1 parent 0bb9e6a commit e17955e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bpython/cli.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,11 +1524,10 @@ def clear(self):
15241524
self.win.clear()
15251525

15261526

1527-
def init_wins(scr, colors, config):
1527+
def init_wins(scr, config):
15281528
"""Initialise the two windows (the main repl interface and the little
15291529
status bar at the bottom with some stuff in it)"""
15301530
#TODO: Document better what stuff is on the status bar.
1531-
#TODO: colors argument is not used
15321531

15331532
background = get_colpair(config, 'background')
15341533
h, w = gethw()
@@ -1696,7 +1695,7 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
16961695
scr.timeout(300)
16971696

16981697
curses.raw(True)
1699-
main_win, statusbar = init_wins(scr, cols, config)
1698+
main_win, statusbar = init_wins(scr, config)
17001699

17011700
if locals_ is None:
17021701
sys.modules['__main__'] = ModuleType('__main__')

0 commit comments

Comments
 (0)