Commit | Line | Data |
---|---|---|
97e3edfb DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | */ | |
6 | ||
7 | #ifndef lint | |
8 | static char sccsid[] = "@(#)movecurs.c 5.1 (Berkeley) %G%"; | |
9 | #endif not lint | |
4564e109 RC |
10 | |
11 | #include "2648.h" | |
12 | ||
13 | movecurs(x, y) | |
14 | { | |
15 | char mes[20]; | |
16 | ||
17 | if (x==_curx && y==_cury) | |
18 | return; | |
19 | sprintf(mes, "%d,%do", x, y); | |
20 | escseq(ESCD); | |
21 | outstr(mes); | |
22 | escseq(NONE); | |
23 | _curx = x; | |
24 | _cury = y; | |
25 | } |