Comments (3)
For this to work wouldn't the Terminal need to support/have 24 bit color? I find this idea to be great though.
from vhs.
I actually tried out a script that tries to print out a full colour gradient and it looks like we do support truecolor:
#!/bin/bash
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'
For reference, this is what it looks like on my terminal.
from vhs.
Feel free to reopen this issue if the true color support is not working for you!
from vhs.
Related Issues (20)
- On-demand frame capture
- How can I change Shell Prompt HOT 18
- Changing the FontSize affects what is captured on Hide/Show HOT 2
- Outputs ignored if specifying more than one golden file format
- Source 1_example.tape raises "Expected path after Source" HOT 1
- Add option for split terminal HOT 6
- Padding and FontSize not applied via Source
- Add Command to "Set Title" for Window
- vhs freezes when i try to load a file HOT 6
- Automatic download and execution of browser from Google should be noted in README HOT 1
- serve mode not working HOT 10
- Unable to send and record some alt modifier sequences HOT 5
- Output frames don't do anything
- Hide `vhs publish` info when exiting with tape errors HOT 1
- Escaped prompt when running VHS in a nix shell
- Support customizing Padding and Margin.
- Make VHS available as a library to be used in test suites and make possible programmatically detect golden file changes
- Show what is being entered
- Publish command stalls (server unresponsive?) HOT 3
- Show output in real-time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vhs.