| 323 | } |
| 324 | |
| 325 | void |
| 326 | outmore(struct amii_WinDesc *cw) |
| 327 | { |
| 328 | struct Window *w = cw->win; |
| 329 | |
| 330 | if ((cw->wflags & FLMAP_SKIP) == 0) { |
| 331 | if (scrollmsg) { |
| 332 | int bottom; |
| 333 | |
| 334 | bottom = amii_msgborder(w); |
| 335 | |
| 336 | ScrollRaster(w->RPort, 0, w->RPort->TxHeight, w->BorderLeft, |
| 337 | w->BorderTop + 1, w->Width - w->BorderRight - 1, |
| 338 | w->Height - w->BorderBottom - 1); |
| 339 | amii_curs(WIN_MESSAGE, 1, bottom); /* -1 for inner border */ |
| 340 | Text(w->RPort, "--more--", 8); |
| 341 | } else |
| 342 | Text(w->RPort, " --more--", 9); |
| 343 | |
| 344 | /* Make sure there are no events in the queue */ |
| 345 | flushIDCMP(HackPort); |
| 346 | |
| 347 | /* Allow mouse clicks to clear --more-- */ |
| 348 | WindowGetchar(); |
| 349 | if (lastevent.type == WEKEY && lastevent.un.key == '\33') |
| 350 | cw->wflags |= FLMAP_SKIP; |
| 351 | } |
| 352 | if (!scrollmsg) { |
| 353 | amii_curs(WIN_MESSAGE, 1, 0); |
| 354 | amii_cl_end(cw, cw->curx); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | void |
| 359 | outsubstr(struct amii_WinDesc *cw, char *str, int len, int fudge) |
no test coverage detected