faressoft / terminalizer

🦄 Record your terminal and generate animated gif images or share a web player
https://terminalizer.com
MIT License
15.3k stars 499 forks source link

Renderer inconsistently renders the hostname of this recording. #106

Open Miesvanderlippe opened 4 years ago

Miesvanderlippe commented 4 years ago

I'm rendering a few terminals but I've found some colored text not to be rendered consistently. Sometimes, the hostname in my ZSH recording gets duplicated but other times (with the exact same input) it doesn't.

Relevant lines from the recording:

# Records, feel free to edit them
records:
  - delay: 391
    content: "\e]0;\a\e[01;32m[dennis@nfir\e[01;37m profiles\e[01;32m]$\e[00m "
  - delay: 100

Duplicated output: Screenshot from 2020-05-26 12-23-54 Regular output: Screenshot from 2020-05-26 12-26-13

The entire input file hasn't changed, neither has the config or the render command.

It also happened with the original recording (with the same inconsitency) so I had taken out the duplicate text. Here's the original recording:

records:
  - delay: 311
    content: "\e]0;miesl@mies-pc:~/-censored path-\a\e[01;32m[miesl@mies-pc\e[01;37m -censored directory-\e[01;32m]$\e[00m "
progressify commented 1 year ago

same problem here but only for the question about the duplication of the hostname have you resolved it in some way?

Miesvanderlippe commented 1 year ago

We were using these in a PowerPoint presentation and just recreated using animations and PP elements...

I think there are other projects that do this better nowadays.

progressify commented 1 year ago

For example? Do you know other apps similar to terminalizer but better? :D