* Copyright (c) 1981 Regents of the University of California.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)delch.c 5.14 (Berkeley) %G%";
* Do an insert-char on the line, leaving (cury, curx) unchanged.
register __LDATA
*end
, *temp1
, *temp2
;
end
= &win
->lines
[win
->cury
]->line
[win
->maxx
- 1];
temp1
= &win
->lines
[win
->cury
]->line
[win
->curx
];
(void)memcpy(temp1
, temp2
, sizeof(__LDATA
));
__touchline(win
, win
->cury
, win
->curx
, win
->maxx
- 1, 0);