vim.wasm
vim.wasm copied to clipboard
VimWasm.cmdline() does not update screen
Describe the bug
VimWasm.cmdline() runs given command, but screen is not updated. To avoid this, appending | redraw to the command is necessary.
Steps To Reproduce
- Visit https://rhysd.github.io/vim.wasm/?debug=1
- Open DevTools console
- Run
vim.cmdline('edit ~/.vim/vimrc')
Expected behavior
Screen renders the content of ~/.vim/vimrc
Actual behavior
Screen is not updated though only statusline is updated to notify opening ~/.vim/vimrc
Screenshots/DevTools console (if possible)

Your environment
- OS: macOS 10.12
- Browser: Chrome (stable)
- Browser Version: 75