parent
2bd11fd377
commit
427011f50c
|
@ -1221,9 +1221,8 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
# ok, now run our app
|
# ok, now run our app
|
||||||
try:
|
try:
|
||||||
d = {'jump_to_line': opts.goto, 'init_mode': opts.mode,
|
curses.wrapper(run_app, buffers, jump_to_line=opts.goto,
|
||||||
'init_cmds': opts.cmds}
|
init_mode=opts.mode, init_cmds=opts.cmds)
|
||||||
curses.wrapper(run_app, buffers, **d)
|
|
||||||
err = 0
|
err = 0
|
||||||
except:
|
except:
|
||||||
# restore terminal state before printing an error
|
# restore terminal state before printing an error
|
||||||
|
|
Loading…
Reference in New Issue