vhs
vhs copied to clipboard
feat: add WindowTitle setting
Per issue: https://github.com/charmbracelet/vhs/issues/436
Set WindowTitle "Live in the Terminal"

Wow, this looks awesome. Would totally vouch for this to be implemented!
Agreed, this one isn’t quite there yet in terms of typography. Can we bump it down a hair and ensure that it only uses exactly the same typeface as the terminal? By default that should be JetBrains Mono (via embedding).
It’s very important for the integrity of the project that we get this one right before merging.
Also, we’ll need to update the README for this as well.
Cool, thanks for the feedback. I'll get those changes implemented.
Just wanted to confirm the expected behaviour for a few scenarios:
| Scenario | Fonts available on system | Terminal font | Title font |
|---|---|---|---|
No font specified via Set FontFamily. |
|
JetBrains Mono from system. | JetBrains Mono from system seems reasonable, but could load from embedding. |
No font specified via Set FontFamily. |
|
Hack from system. | JetBrains Mono from embedding or Hack from system? |
No font specified via Set FontFamily. |
|
Fallback to bare monospace. | JetBrains Mono from embedding or fallback to bare monospace? |
Set FontFamily "JetBrains Mono" |
|
JetBrains Mono from system. | JetBrains mono from system seems reasonable, but could load from embedding. |
Set FontFamily "JetBrains Mono". |
|
Fallback to bare monospace. | JetBrains mono from embedding or bare monospace? |
Set FontFamily "Hack". |
|
Hack from system. | Hack from system. |
Set FontFamily "Hack". |
|
Fallback to bare monospace. | JetBrains Mono from embedding or fallback to bare monospace? |
Any other scenarios not covered above, please add.
Also, should the font file to embed for JetBrains Mono be included in the repo, or add a script/make target to download it from JetBrains at build time, or some other approach?
I started a discussion https://github.com/charmbracelet/vhs/discussions/644 around a working (for me) implementation fork at https://github.com/agentstation/vhs - might be relevant! 😄