4 /* Winsch() inserts character 'c' at the cursor position in
5 window 'win'. The cursor is advanced.
17 int maxx
= win
->_maxx
;
19 if ((c
< ' ') && (c
== '\n' || c
== '\r' || c
== '\t' || c
== '\b'))
20 return(waddch(win
, c
));
21 end
= &win
->_line
[y
][x
];
22 temp1
= &win
->_line
[y
][maxx
];
24 if (c
< ' ') /* if CTRL-char make space for 2 */
26 while (temp1
> end
) *temp1
-- = *temp2
--;
27 win
->_maxchng
[y
] = maxx
;
28 if ((win
->_minchng
[y
] == _NO_CHANGE
) || (win
->_minchng
[y
] > x
))
30 return(waddch(win
, c
)); /* fixes CTRL-chars too */