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

Move forward word is broken #560

Closed
jcubic opened this issue Feb 9, 2020 · 0 comments
Closed

Move forward word is broken #560

jcubic opened this issue Feb 9, 2020 · 0 comments
Labels
Bug resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented Feb 9, 2020

Expected behavior

By pressing CTRL+RightArrow It should move to the end of the command

Actual behavior

it just backwards when there are newlines and no space at the end.

Steps to reproduce

  1. Enter this text (js code) into default terminal:
$.terminal.defaults.formatters.push(function(string) {
   return string.replace(/([^`]|^)`([^`]+)`([^`]|$)/g, '$1[[b;#fff;]$2]$3')
});
  1. Keep moving to next space by pressing CTRL+RightArrow
  2. it will move into "}" and next inside the string.

END key is also broken.

@jcubic jcubic added the Bug label Feb 9, 2020
jcubic added a commit that referenced this issue Feb 16, 2020
@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Feb 16, 2020
jcubic added a commit that referenced this issue Feb 16, 2020
@jcubic jcubic closed this as completed Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant