Add _with('wvars')
This commit is contained in:
parent
a3e29a6cd6
commit
0ab80742c4
|
@ -729,6 +729,8 @@ def _with(key, *args, **kwargs):
|
||||||
return _WithDict(options, **kwargs)
|
return _WithDict(options, **kwargs)
|
||||||
elif key == 'globals':
|
elif key == 'globals':
|
||||||
return _WithDict(vars, **kwargs)
|
return _WithDict(vars, **kwargs)
|
||||||
|
elif key == 'wvars':
|
||||||
|
return _WithDict(windows[_window - 1].vars, **kwargs)
|
||||||
elif key == 'environ':
|
elif key == 'environ':
|
||||||
return _WithDict(_environ, **kwargs)
|
return _WithDict(_environ, **kwargs)
|
||||||
elif key == 'split':
|
elif key == 'split':
|
||||||
|
|
Loading…
Reference in New Issue