Closed adius closed 6 years ago
Please provide the command + cast to reproduce
https://asciinema.org/a/YsboQmbF6dA5KcJnx7rxJhLlv
svg-term --cast YsboQmbF6dA5KcJnx7rxJhLlv --no-cursor --at 99999 --window > bug.svg
The used asciicast is very wide:
{
"width": 318,
"height": 77
}
The window traffic lights scale relative to the window width, this reveals they should clamp to a max-size.
Edit: Scaling them automatically might be a bad idea overall. Might want to have them fixed and allow users to configure the size? Will have to think about this.
Yeah I think it should definitely have a fixed size (just like in real windows =P). Allowing the users to change the size sounds cool too (Although I don't really know why someone would want to use that ^^)
Fixed via version 1.1.5 of svg-term