The option termwinsize
cannot be accessed from Python 3.
Input
python3 << EOD
import vim
for window in vim.windows:
if (window.buffer.options['buftype'] == b'terminal'):
window.buffer.options['termwinsize'] = '10x0'
EOD
Expected Result
Success.
Actual Result
KeyError: 'termwinsize'
Is this an expected behavior or a bug?
(:set termwinsize=10x0
succeeds. The options cannot be accessed only from Python 3.)
window.options['termwinsize']