mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-17 16:10:29 +00:00
Remove trailing whitespace from all files (#497)
This commit is contained in:
parent
d3f3cb7ab4
commit
7e2eae5c15
356 changed files with 41701 additions and 41680 deletions
8
third_party/finger/display.c
vendored
8
third_party/finger/display.c
vendored
|
@ -89,18 +89,18 @@ fxputc(FILE *f, int ch)
|
|||
ch = ch&0xff;
|
||||
|
||||
/* on 7-bit terminals, strip high bit */
|
||||
if (!is8bit()) ch &= 0x7f;
|
||||
if (!is8bit()) ch &= 0x7f;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Assume anything that isn't a control character is printable.
|
||||
* We can't count on locale stuff to tell us what's printable
|
||||
* We can't count on locale stuff to tell us what's printable
|
||||
* because we might be looking at someone who uses different
|
||||
* locale settings or is on the other side of the planet. So,
|
||||
* strip 0-31, 127, 128-159, and 255. Note that not stripping
|
||||
* 128-159 is asking for trouble, as 155 (M-esc) is interpreted
|
||||
* as esc-[ by most terminals. Hopefully this won't break anyone's
|
||||
* charset.
|
||||
*
|
||||
*
|
||||
* It would be nice if we could set the terminal to display in the
|
||||
* right charset, but we have no way to know what it is. feh.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue