- wmemmove(tmp->text + rt->curs_col + 1, tmp->text + rt->curs_col,
- (rt->cols - rt->curs_col - 1));
- memmove(tmp->attr + rt->curs_col + 1, tmp->attr + rt->curs_col,
- (rt->cols - rt->curs_col - 1) * sizeof(tmp->attr[0]));
+ wmemmove(tmp->text + rt->curs_col + width, tmp->text + rt->curs_col,
+ (rt->cols - rt->curs_col - width));
+ memmove(tmp->attr + rt->curs_col + width, tmp->attr + rt->curs_col,
+ (rt->cols - rt->curs_col - width) * sizeof(tmp->attr[0]));