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

Less command with images demo #515

Closed
jcubic opened this issue Aug 20, 2019 · 2 comments
Closed

Less command with images demo #515

jcubic opened this issue Aug 20, 2019 · 2 comments
Labels
feature resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented Aug 20, 2019

I have idea for a new feature for jQuery Terminal

It would be cool to have demo of less command that work with images.

As starting point here is demo that renders image by slices. The slices are height of the lines so I think it will be possible to use less with this image.

The problem is that less accept chunk of text as string and slices demo use echo with raw options.

@jcubic
Copy link
Owner Author

jcubic commented Aug 22, 2019

The problem was resolved by adding @ into formatting that will render images. So now less split images into slices and render then line by line.

@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Aug 22, 2019
jcubic added a commit that referenced this issue Aug 24, 2019
@jcubic
Copy link
Owner Author

jcubic commented Aug 29, 2019

released in 2.8.0

@jcubic jcubic closed this as completed Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant