Skip to content

feat: detect image protocol#406

Open
raphamorim wants to merge 3 commits intomainfrom
feat-detect-image-protocol
Open

feat: detect image protocol#406
raphamorim wants to merge 3 commits intomainfrom
feat-detect-image-protocol

Conversation

@raphamorim
Copy link
Copy Markdown
Contributor

TODO

  • Verify if it's running with tmux for Kitty and ITerm2
  • Write a func for preferred protocol for the terminal
  • Additional check if the terminal supports cell-size by [16t or [14t
  • Write tests by mocking a terminal context ?

Comment thread graphics/detect.go
return true
}
s, err := term.MakeRaw(1)
if err == nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if err != nil should probably stop here?

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