diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-07-07 10:45:26 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-07-07 10:45:26 -0700 |
commit | 3915faf3820ad25f326c98c1f7042f9e2670202c (patch) | |
tree | 868e2ba5a6677d78023f1404e902befbaac435ab /input.cpp | |
parent | d5fa4b2ccb27343f1332460b9550391b755a328b (diff) |
bind should not show -k for bindings that are escape sequences, not keys
Diffstat (limited to 'input.cpp')
-rw-r--r-- | input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1004,7 +1004,7 @@ bool input_terminfo_get_sequence(const wchar_t *name, wcstring *out_seq) } -bool input_terminfo_get_name(const wcstring &seq, wcstring &name) +bool input_terminfo_get_name(const wcstring &seq, wcstring *out_name) { input_init(); @@ -1020,7 +1020,7 @@ bool input_terminfo_get_name(const wcstring &seq, wcstring &name) const wcstring map_buf = format_string(L"%s", m.seq); if (map_buf == seq) { - name = m.name; + out_name->assign(m.name); return true; } } |