display.c (15022) | display.c (17676) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 128 unchanged lines hidden (view full) --- 137 } 138 if (*text == '\f') { 139 if (win == &my_win) 140 wrefresh(curscr); 141 text++; 142 continue; 143 } 144 if (*text == '\7') { | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 128 unchanged lines hidden (view full) --- 137 } 138 if (*text == '\f') { 139 if (win == &my_win) 140 wrefresh(curscr); 141 text++; 142 continue; 143 } 144 if (*text == '\7') { |
145 _putchar(*text); | 145 write(STDOUT_FILENO, text, 1); |
146 text++; 147 continue; 148 } 149 if (!isprint((unsigned char)*text) && *text != '\t') { 150 waddch(win->x_win, '^'); 151 getyx(win->x_win, win->x_line, win->x_col); 152 cch = (*text & 63) + 64; 153 waddch(win->x_win, cch); --- 26 unchanged lines hidden --- | 146 text++; 147 continue; 148 } 149 if (!isprint((unsigned char)*text) && *text != '\t') { 150 waddch(win->x_win, '^'); 151 getyx(win->x_win, win->x_line, win->x_col); 152 cch = (*text & 63) + 64; 153 waddch(win->x_win, cch); --- 26 unchanged lines hidden --- |