Skip to content

Commit

Permalink
docs: document tmux active session bug (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontanini authored Dec 4, 2024
2 parents 2a469f3 + b82a7e3 commit a324bc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/guides/pdf-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ so make sure to adjust accordingly before running the command above.
> Note: if you're using a separate virtual env to install _presenterm-export_ just make sure you activate it before
> running _presenterm_ with the `--export-pdf` parameter.
### Active tmux sessions bug

Because of a [bug in tmux <= 3.5a](https://github.com/tmux/tmux/issues/4268), exporting a PDF while having other tmux
sessions running and attached will cause the size of the output PDF to match the size of those other sessions rather
than the size of the terminal you're running _presenterm_ in. The workaround is to only have one attached tmux session
and to run the PDF export from that session.

### How it works

The conversion into PDF format is pretty convoluted. If you'd like to learn more visit
Expand Down

0 comments on commit a324bc9

Please sign in to comment.