Ticket #55775: patch-src-nvim-tui-tui.c.diff

File patch-src-nvim-tui-tui.c.diff, 622 bytes (added by stevecheckoway (Stephen Checkoway), 6 years ago)
  • src/nvim/tui/tui.c

    static const char *tui_tk_ti_getstr(const char *name, const char *value, 
    17221722    if (value != NULL && strequal(stty_erase, value)) {
    17231723      return stty_erase[0] == DEL ? CTRL_H_STR : DEL_STR;
    17241724    }
     1725  } else if (strequal(name, "key_mouse")) {
     1726    DLOG("libtermkey:kmous=%s", value);
     1727    // If key_mouse is found, libtermkey uses its terminfo driver (driver-ti.c)
     1728    // for mouse input, which by accident only supports X10 protocol.
     1729    // Force libtermkey to fallback to its CSI driver (driver-csi.c). #7948
     1730    return NULL;
    17251731  }
    17261732
    17271733  return value;