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