Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VimWasm.cmdline() does not update screen #32

Open
rhysd opened this issue Jul 9, 2019 · 0 comments
Open

VimWasm.cmdline() does not update screen #32

rhysd opened this issue Jul 9, 2019 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@rhysd
Copy link
Owner

rhysd commented Jul 9, 2019

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

  1. Visit https://rhysd.github.io/vim.wasm/?debug=1
  2. Open DevTools console
  3. 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)

スクリーンショット 2019-07-09 14 47 39

Your environment

  • OS: macOS 10.12
  • Browser: Chrome (stable)
  • Browser Version: 75

Additional context (if any)

@rhysd rhysd added the bug Something isn't working label Jul 9, 2019
@rhysd rhysd added this to To do in Defects via automation Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Defects
  
To do
Development

No branches or pull requests

1 participant