small refactor

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2009-10-01 20:06:17 -04:00
parent 2bd11fd377
commit 427011f50c
1 changed files with 2 additions and 3 deletions

View File

@ -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