get a character */
| 5273 | |
| 5274 | /* get a character */ |
| 5275 | char |
| 5276 | readchar(void) |
| 5277 | { |
| 5278 | char ch; |
| 5279 | coordxy x = u.ux, y = u.uy; |
| 5280 | int mod = 0; |
| 5281 | |
| 5282 | ch = readchar_core(&x, &y, &mod); |
| 5283 | return ch; |
| 5284 | } |
| 5285 | |
| 5286 | /* used by getpos() to accept mouse input as well as keyboard input */ |
| 5287 | char |
no test coverage detected