Skip to content

Update terminal example using colored#129

Merged
jackpot51 merged 1 commit intopop-os:mainfrom
tigregalis:cross-platform-terminal-example
Nov 28, 2023
Merged

Update terminal example using colored#129
jackpot51 merged 1 commit intopop-os:mainfrom
tigregalis:cross-platform-terminal-example

Conversation

@tigregalis
Copy link
Copy Markdown
Contributor

@tigregalis tigregalis commented May 12, 2023

The terminal example didn't work for me on Windows because termion is not supported on Windows.

  • Removed the termion dependency
  • Added colored as a dependency
  • Instead of terminal control sequences, I emulate a canvas, write the pixels to a string, and print that to the terminal

I also added the ability to pass text as an argument.
image

Fixes part of #46

@jackpot51
Copy link
Copy Markdown
Member

This now has conflicts after #122

@tigregalis tigregalis force-pushed the cross-platform-terminal-example branch from d03bc38 to 27d61e5 Compare June 9, 2023 03:44
@tigregalis
Copy link
Copy Markdown
Contributor Author

I've resolved the conflict.

Copy link
Copy Markdown
Contributor

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

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

@jackpot51 Other than the comment I left above, I think this PR is good to go.

@jackpot51 jackpot51 merged commit daa5a66 into pop-os:main Nov 28, 2023
@nicoburns nicoburns mentioned this pull request Feb 19, 2024
19 tasks
StewartCanva pushed a commit to StewartCanva/cosmic-text that referenced this pull request Jun 26, 2025
…-example

Update terminal example using `colored`
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.

3 participants