[Error] pagination in exported apps doesn't work
- Dominant language
- Go
- Stars
- 13k
- Forks
- 541
- Avg merge
- 20h 47m
- Merged PRs (30d)
- 4
Description
**Describe the bug**
pagination does not work for every single CLI programs including less, [delta](https://github.com/dandavison/delta/discussions/1387#discussioncomment-10731607) and https://github.com/sharkdp/bat.
**To Reproduce**
```sh
$ distrobox create --verbose --image archlinux:latest --name arch-distrobox-repro
$ distrobox enter arch-distrobox-repro
$ distrobox-export --bin $(which less)
$ exit
$ uname | ~/.local/bin/less
Linux
```
**Expected behavior**
- pagination in `~/.local/bin/less` works the same as `/usr/bin/less`.
- pagination in [exported apps](https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-export.md) works.
**Logs**
[distrobox-create.log](https://github.com/user-attachments/files/17175373/distrobox-create.log)
[distrobox-enter.log](https://github.com/user-attachments/files/17175374/distrobox-enter.log)
[podman.txt](https://github.com/user-attachments/files/17175375/podman.txt)
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod? `podman`
- Which version or podman, docker or lilipod? `podman version 5.2.2`
- Which version of distrobox? `distrobox: 1.7.2.1`
- Which host distribution? `Fedora Linux 40 (kinoite)`
- How did you install distrobox? `built-in`
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.