MCPcopy Create free account
hub / github.com/gwsw/less / deinit_mouse

Function deinit_mouse

screen.c:1684–1695  ·  view source on GitHub ↗

* Configure the terminal so mouse clicks and wheel moves * are handled by the system (so text can be selected, etc). */

Source from the content-addressed store, hash-verified

1682 * are handled by the system (so text can be selected, etc).
1683 */
1684 public void
1685deinit_mouse(VOID_PARAM)
1686{
1687#if !MSDOS_COMPILER
1688 ltputs(sc_e_mousecap, sc_height, putchr);
1689#else
1690#if MSDOS_COMPILER==WIN32C
1691 SetConsoleMode(tty, ENABLE_PROCESSED_INPUT | ENABLE_EXTENDED_FLAGS
1692 | (console_mode & ENABLE_QUICK_EDIT_MODE));
1693#endif
1694#endif
1695}
1696
1697/*
1698 * Initialize terminal

Callers 2

deinitFunction · 0.85
opt_mousecapFunction · 0.85

Calls 1

ltputsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…