Skip to content

memory leak in pager #823

@themoonisacheese

Description

@themoonisacheese

Describe the bug
gum pager no longer functions correctly as $PAGER, and seems to have a memory leak

To Reproduce
Steps to reproduce the behavior:

  1. in 0.15.1: in zshrc, have export PAGER="gum pager"
  2. open a command that would automatically use your pager, such as man tail
  3. gum pager opens, but no content is displayed, and the entire page is a small pink square with the controls displayed.
  4. gum pager uses 100% of 1 CPU, and fills the entire available ram in a few minutes. the server becomes understandably unresponsive and needs to be restarted.

Expected behavior
in 0.14-, this exact configuration worked as expected. man tail would correctly display inside gum pager without issues.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Almalinux 8
  • Version 0.15.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions