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
#include <stdlib.h> | |
#include <stdio.h> | |
#define TERMCAP2KEY(a, b) (-((a) + ((int)(b) << 8))) | |
#define KEY2TERMCAP0(x) ((-(x)) & 0xff) | |
#define KEY2TERMCAP1(x) (((unsigned)(-(x)) >> 8) & 0xff) | |
int main(int argc, char **argv) { | |
int t_vi = TERMCAP2KEY('v', 'i'); | |
unsigned int keyname[2] = { 0 }; |
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
Reading data from 'callgrind.out.1466'... | |
-------------------------------------------------------------------------------- | |
Profile data file 'callgrind.out.1466' (creator: callgrind-3.10.1) | |
-------------------------------------------------------------------------------- | |
I1 cache: | |
D1 cache: | |
LL cache: | |
Timerange: Basic block 0 - 10950653 | |
Trigger: Program termination | |
Profiled target: build/bin/nvim -n -u NONE -i NONE +:e ~/.local/share/nvim/bundle/vim-sexp/plugin/sexp.vim +so % (PID 1466, part 1) |
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
Reading data from 'callgrind.out.2458'... | |
-------------------------------------------------------------------------------- | |
Profile data file 'callgrind.out.2458' (creator: callgrind-3.10.1) | |
-------------------------------------------------------------------------------- | |
I1 cache: | |
D1 cache: | |
LL cache: | |
Timerange: Basic block 0 - 15854000 | |
Trigger: Program termination | |
Profiled target: build/bin/nvim -n -u NONE -i NONE +:e ~/.local/share/nvim/bundle/vim-sexp/plugin/sexp.vim +so % (PID 2458, part 1) |
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
Reading data from 'callgrind.out.31506'... | |
-------------------------------------------------------------------------------- | |
Profile data file 'callgrind.out.31506' (creator: callgrind-3.10.1) | |
-------------------------------------------------------------------------------- | |
I1 cache: | |
D1 cache: | |
LL cache: | |
Timerange: Basic block 0 - 15885896 | |
Trigger: Program termination | |
Profiled target: build/bin/nvim -n -u NONE -i NONE +:e ~/.local/share/nvim/bundle/vim-sexp/plugin/sexp.vim +so % (PID 31506, part 1) |
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
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 | |
Copyright (C) 2014 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. |
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
{'types': {'Window': {'id': 1, 'prefix': {'_TYPE': [], '_VAL': | |
['nvim_win_']}}, 'Tabpage': {'id': 2, 'prefix': {'_TYPE': [], '_VAL': | |
['nvim_tabpage_']}}, 'Buffer': {'id': 0, 'prefix': {'_TYPE': [], '_VAL': | |
['nvim_buf_']}}}, 'functions': [{'method': v:true, 'name': {'_TYPE': [], | |
'_VAL': ['nvim_buf_line_count']}, 'return_type': {'_TYPE': [], '_VAL': | |
['Integer']}, 'parameters': [[{'_TYPE': [], '_VAL': ['Buffer']}, {'_TYPE': | |
[], '_VAL': ['buffer']}]], 'since': 1}, {'method': v:false, | |
'deprecated_since': 1, 'name': {'_TYPE': [], '_VAL': ['buffer_get_line']}, | |
'return_type': {'_TYPE': [], '_VAL': ['String']}, 'parameters': [[{'_TYPE': | |
[], '_VAL': ['Buffer']}, {'_TYPE': [], '_VAL': ['buffer']}], [{'_TYPE': [], |
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
{'nvim_feedkeys': {'data': {'_TYPE': [], '_VAL': ['&handle_nvim_feedkeys']}, | |
'func': {'_TYPE': [], '_VAL': ['api_wrapper']}, 'args': 3}, 'mkdir': {'args': | |
[1, 3]}, 'getcompletion': {'args': [2, 3]}, 'jobstop': {'args': 1}, | |
'nvim_buf_set_lines': {'data': {'_TYPE': [], '_VAL': | |
['&handle_nvim_buf_set_lines']}, 'func': {'_TYPE': [], '_VAL': | |
['api_wrapper']}, 'args': 5}, 'assert_notmatch': {'args': [2, 3]}, | |
'nvim_win_is_valid': {'data': {'_TYPE': [], '_VAL': | |
['&handle_nvim_win_is_valid']}, 'func': {'_TYPE': [], '_VAL': | |
['api_wrapper']}, 'args': 1}, 'empty': {'args': 1}, 'getftype': {'args': 1}, | |
'nvim_list_tabpages': {'data': {'_TYPE': [], '_VAL': |
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
/* | |
* Catch v1.10.0 | |
* Generated: 2017-08-26 15:16:46.676990 | |
* ---------------------------------------------------------- | |
* This file has been merged from multiple headers. Please don't edit it directly | |
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. | |
* | |
* Distributed under the Boost Software License, Version 1.0. (See accompanying | |
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
*/ |
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~"; |
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
==22964==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d000004490 at pc 0x0000007e96fc bp 0x7ffec5b02a30 sp 0x7ffec5b02a28 | |
READ of size 8 at 0x60d000004490 thread T0 | |
#0 0x7e96fb in ex_diffgetput /home/travis/build/neovim/neovim/build/../src/nvim/diff.c:2566:9 | |
#1 0x7e61c6 in nv_diffgetput /home/travis/build/neovim/neovim/build/../src/nvim/diff.c:2415:3 | |
#2 0x1249049 in nv_put /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:7829:7 | |
#3 0x122102b in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1137:3 | |
#4 0x121737e in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8047:9 | |
#5 0xc6aed8 in exec_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8288:5 | |
#6 0xc6abdb in exec_normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8271:3 | |
#7 0xca903b in ex_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8181:7 |