no longer needed - we have a new way of positioning the cursor.
Signed-off-by: NeilBrown <neil@brown.name>
current_screen = scr;
}
-static void move_cursor(struct pane *p)
-{
- int ox;
- int oy;
-
- p = pane_with_cursor(p, &ox, &oy);
-
- if (p) {
- int cx = p->cx;
- int cy = p->cy;
- if (cx >= p->w)
- cx = p->w - 1;
- if (cy >= p->h)
- cy = p->h - 1;
- move(oy+cy, ox+cx);
- }
-}
-
DEF_CMD(input_handle);
DEF_CMD(handle_winch);
if (ci->numeric > 0) {
/* post-order call */
- move_cursor(p);
if (dd->cursor.x >= 0)
move(dd->cursor.y, dd->cursor.x);
refresh();