Changeset 7743955 for perlwrap.pm


Ignore:
Timestamp:
Feb 22, 2009, 9:21:33 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
53d4634
Parents:
f17bb2c0
Message:
Default style: Wrap to window-width minus 1

Normally text in the far-right margin is an indication to scroll
right, so always wrap so as to leave the right-most column empty.

Reported-By: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    r5008e51 r7743955  
    10581058    my $body = $m->body;
    10591059    if ($m->{should_wordwrap}) {
    1060       $body = BarnOwl::wordwrap($body, BarnOwl::getnumcols()-8);
     1060      $body = BarnOwl::wordwrap($body, BarnOwl::getnumcols()-9);
    10611061    }
    10621062    # replace newline followed by anything with
Note: See TracChangeset for help on using the changeset viewer.