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 support? #30

Open
jagot opened this issue Jul 17, 2017 · 3 comments
Open

Emacs support? #30

jagot opened this issue Jul 17, 2017 · 3 comments

Comments

@jagot
Copy link

jagot commented Jul 17, 2017

It would be very nice to have. Maybe it could be accomplished using
https://github.com/riscy/shx-for-emacs

What do you think?

@Keno
Copy link
Owner

Keno commented Jul 17, 2017

Happy to take a PR to that extent, but since I don't use emacs myself, I'm unlikely to get to it myself. The two things you'd have to figure out:

  1. How to identify that the emacs terminal has this support enabled?
  2. How to give it base 64 data.
    With those two in hand, it'd be a very straightforward patch.

@jagot
Copy link
Author

jagot commented Jul 17, 2017

Point 2 is easy enough; something like this ought to do it:

(insert-image (create-image (base64-decode-string "....") nil t))

What needs to be added is a tag for shx to recognize that base64 data is available.

Point 1 I am more unsure about.

References:

@wentasah
Copy link

Rudimentary support for Emacs vterm prompt and directory tracking is in #47.

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

No branches or pull requests

3 participants