Add _with('wvars')

This commit is contained in:
ZyX 2014-07-10 22:21:29 +04:00
parent a3e29a6cd6
commit 0ab80742c4
1 changed files with 2 additions and 0 deletions

View File

@ -729,6 +729,8 @@ def _with(key, *args, **kwargs):
return _WithDict(options, **kwargs)
elif key == 'globals':
return _WithDict(vars, **kwargs)
elif key == 'wvars':
return _WithDict(windows[_window - 1].vars, **kwargs)
elif key == 'environ':
return _WithDict(_environ, **kwargs)
elif key == 'split':