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

Show Image or Video inside Terminal #2288

Closed
jrahma opened this issue Aug 6, 2019 · 6 comments
Closed

Show Image or Video inside Terminal #2288

jrahma opened this issue Aug 6, 2019 · 6 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@jrahma
Copy link

jrahma commented Aug 6, 2019

Hi,

Please add show command which will show image or video files inside the terminal, crazy idea?

Well, something like this:

show myphoto.png

or:

show myvideo.mpeg

It can also be shown when using dir so if the file is an image it will show the image in small thumbnail

Thanks,
Jassim

@jrahma jrahma added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 6, 2019
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 6, 2019
@catthehacker
Copy link

What real usage does that has?
How does that improves anything?

@JamesG269
Copy link

JamesG269 commented Aug 6, 2019

I think adding images to the console is a great idea, it allows you to inspect the content without having to switch to another program, so you can see what you are doing commands on. Make it optional of course, for those who don't need or want it. Something like "dir -thumbnails" that shows thumbnails of images or videos is desirable. Maybe it could just fetch them from the explorer thumbnail cache. In addition to utility, it would make the console look pretty cool.

@WSLUser
Copy link
Contributor

WSLUser commented Aug 6, 2019

This is related and has dependency on or a duplicate of #448. Actionable for this issue could be usage of a show or similar command. This needs to keep in mind compatibility with other shells, especially if sshing into a network device such as those by Cisco where show is a primary CLI command.

@dhrdlicka
Copy link

I guess nothing prevents anyone from implementing this in a separate application or a PowerShell module, as long as the Terminal supports the appropriate VT sequences (#448). However, I see no real reason why should this specific functionality be integrated into the Terminal or the Command Prompt.

I can see some good use cases there, such as being able to inspect image/video files over a remote CLI connection (SSH/telnet), but as I said before, I don't feel like this ability belongs in a terminal nor a shell.

I especially don't hold my hopes high on the "thumbnails in dir" idea, since as far as I am aware the Command Prompt is not really actively maintained anymore, being included only for backward compatibility purposes and I am afraid that this would pretty much be a breaking change.

@JamesG269
Copy link

JamesG269 commented Aug 6, 2019

dir is an alias in powershell for get-childitem, didn't mean cmd.exe.

@oising
Copy link
Collaborator

oising commented Aug 6, 2019

Duplicate: #448 (also commands belong to shells - bash/cmd/pwsh etc, not terminals)

@oising oising closed this as completed Aug 6, 2019
@oising oising added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Aug 6, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

6 participants