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

Emacs fixes for garbled terminal output #196

Merged
merged 2 commits into from
Feb 16, 2016
Merged

Emacs fixes for garbled terminal output #196

merged 2 commits into from
Feb 16, 2016

Conversation

mafredri
Copy link
Collaborator

This PR fixes the issues raised in #188 and #191. It also takes precedence over #190 in favor of not introducing new configuration options.

Dependency on ansi codes \e7 (save cursor position) and \e8 (restore cursor position) has been removed by introducing a call to zle reset-prompt instead, I have not found any negative side-effects to this in my testing.

This fixes #188 and takes place of #190, at least for now.
This fixes #191 and can be considered a more robust method of restoring cursor
position.
@sindresorhus
Copy link
Owner

Been using this since yesterday and seems to be working fine :)

sindresorhus added a commit that referenced this pull request Feb 16, 2016
Emacs fixes for garbled terminal output
@sindresorhus sindresorhus merged commit fb4c37d into master Feb 16, 2016
@sindresorhus sindresorhus deleted the emacs-fixes branch February 16, 2016 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants