commit | cf0eed6c36e28743464b17c510778451594fdec1 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Sun Jun 05 12:53:02 2016 +0200 |
committer | Benno Schulenberg <bensberg@justemail.net> | Thu Jun 30 14:27:00 2016 +0200 |
tree | 5789d221c6e6211fc50b1107936747579c00cb30 | |
parent | feacacc46df9c8f280d95c8a951c752c3bb4831b [diff] |
screen: don't check for every character whether there is still enough space Just allocate ample space up front and thus discard the delaying 'if' for each and every character. In most cases this will allocate far too much, but that hardly matters: it is freed again as soon as the line is printed.