charmbracelet / freeze

Generate images of code and terminal output 📸
MIT License
2.95k stars 48 forks source link

width and height are positive and non-zero #109

Open dezren39 opened 1 month ago

dezren39 commented 1 month ago

Describe the bug Hi what does this mean

width and height are positive and non-zero

To Reproduce Steps to reproduce the behavior:

  1. be nixos
  2. freeze --execute "ls -lahR /home"
  3. freeze --execute "tree"
  4. See error

Expected behavior No error

AlejandroSuero commented 1 month ago

In MacOS 14.5 (23F79) doesn't seem to fail.

https://github.com/charmbracelet/freeze/assets/71392160/a1c95039-4873-40a4-a46e-7d7638cc162e

There is an issue when building with Nix that may be related, but I am not sure (not a Nix|NixOS user yet).