* Configure the termimal so mouse clicks and wheel moves * produce input to less. */
| 1664 | * produce input to less. |
| 1665 | */ |
| 1666 | public void |
| 1667 | init_mouse(VOID_PARAM) |
| 1668 | { |
| 1669 | #if !MSDOS_COMPILER |
| 1670 | ltputs(sc_s_mousecap, sc_height, putchr); |
| 1671 | #else |
| 1672 | #if MSDOS_COMPILER==WIN32C |
| 1673 | SetConsoleMode(tty, ENABLE_PROCESSED_INPUT | ENABLE_MOUSE_INPUT |
| 1674 | | ENABLE_EXTENDED_FLAGS /* disable quick edit */); |
| 1675 | |
| 1676 | #endif |
| 1677 | #endif |
| 1678 | } |
| 1679 | |
| 1680 | /* |
| 1681 | * Configure the terminal so mouse clicks and wheel moves |
no test coverage detected
searching dependent graphs…