Project

General

Profile

Actions

Bug #9879

closed

more should have better screen size detection

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2018-10-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

With non-default (in terminfo sense) screen sizes, more can get into trouble when actual screen dimensions are not matching the ones provided by terminfo. We should query the TIOCGWINSZ first, then fall back to terminfo and hard coded defaults.

Actions #1

Updated by Electric Monk over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit e24b44e5c3120c9b5c8e9b7440bc10c8b7413bfb

commit  e24b44e5c3120c9b5c8e9b7440bc10c8b7413bfb
Author: Toomas Soome <tsoome@me.com>
Date:   2018-10-24T16:47:49.000Z

    9879 more should have better screen size detection
    Reviewed by: Andy Fiddaman <omnios@citrus-it.net>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF