Created
May 20, 2018 19:01
-
-
Save justinmk/d35c089073666616f21ed6a5891fd711 to your computer and use it in GitHub Desktop.
tui.c Windows console patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c | |
index 65957626cbc9..86987a56ad07 100644 | |
--- a/src/nvim/tui/tui.c | |
+++ b/src/nvim/tui/tui.c | |
@@ -1834,6 +1834,8 @@ static const char *tui_tk_ti_getstr(const char *name, const char *value, | |
// for mouse input, which by accident only supports X10 protocol. | |
// Force libtermkey to fallback to its CSI driver (driver-csi.c). #7948 | |
return NULL; | |
+ } else if (strequal(name, "key_home")) { | |
+ return "\x1b[1~"; | |
} | |
- | |
return value; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment