-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Inconsistencies in ansi-terminal #3125
Comments
I'm seeing a similar bug in both ansi- and multi-term. I find this particularly bothersome because, on OS X, I use text expander snippets system wide. These show as being pasted into the terminal but do not execute. I have also found that text cannot be pasted into terminal using the standard OS X System Info
(auto-completion deft emacs-lisp eyebrowse git helm-bibtex latex markdown org osx pandoc pdf-tools
(ranger :variables ranger-show-preview t)
(shell :variables shell-default-term-shell "/usr/local/bin/zsh" shell-default-shell 'ansi-term shell-default-height 30 shell-default-position 'bottom)
shell-scripts spell-checking sr-speedbar syntax-checking themes-megapack version-control yaml) |
OP said this:
Pretty much all editions I make in Also, I cannot change the position of the cursor in normal state. Say, I start escaping from I am reporting this here because it seems related, but am not sure. Maybe it is even expected or known behavior? Also, this seems not to have anything to do with the shell. I mean, bash, zsh and the like. However, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
When working with the shell, I've noticed that there is a difference between the text you see and the text that gets sent in certain cases.
Suppose I use something like 'lein repl' for Clojure inside of ansi-terminal. When I press Backspace, it doesn't show that the text is deleted, but in fact it is deleted (as shown by the result from the repl). Similarly if you press 'x' on something, it shows that the character is deleted under the cursor, but the string sent to the shell is the original string. So the solution is straightforward:
(1) In shell mode, if the 'Backspace' key is pressed, additionally perform the function of the 'x' key.
(2) In shell mode, if the 'x' key is pressed, additionally perform the function of the 'Backspace' key.
This bug has forced me to use a normal terminal emulator for basic repl work. This bug also happens when you paste text into the terminal from the external clipboard. It also occurs with 'sbt'.
The text was updated successfully, but these errors were encountered: