hide or show cursor */
| 1495 | |
| 1496 | /* hide or show cursor */ |
| 1497 | void |
| 1498 | term_curs_set(int visibility) |
| 1499 | { |
| 1500 | static int vis = -1; |
| 1501 | |
| 1502 | if (vis == visibility) |
| 1503 | return; |
| 1504 | |
| 1505 | if (!visibility && nh_VI) |
| 1506 | xputs(nh_VI); |
| 1507 | else if (visibility && nh_VE) |
| 1508 | xputs(nh_VE); |
| 1509 | vis = visibility; |
| 1510 | } |
| 1511 | |
| 1512 | #ifdef CHANGE_COLOR |
| 1513 | void |