less misbehaves when stdin is a not a tty

Issue #86 resolved
Garrett D'Amore repo owner created an issue

less misguesses terminal size when stdin is a pipe. This shows up for example with man.

Problem is setupterm() is using stdin to check tty state. Better to use stdout. :-)

Comments (1)

  1. Log in to comment