diff options
author | Kurtis Rader <krader@skepticism.us> | 2015-11-30 15:44:51 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-12-08 21:01:31 -0800 |
commit | d65c63322ef52443b372c3c49dbd3584596fed6b (patch) | |
tree | c3b6e2b32fbffb6521b7e68094b0918d05d8ea40 /src/input.cpp | |
parent | 6943536ef30e9b6a84a162a2b1f065e0d5feff07 (diff) |
allow \cJ (\n) to be bound separate from \cM (\r)
This makes it possible (on UNIX systems, don't know about MS Windows)
to bind \cJ (\n) independently of \cM (\r, aka [enter]).
Resolves #217
Diffstat (limited to 'src/input.cpp')
-rw-r--r-- | src/input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input.cpp b/src/input.cpp index e8728662..bc64889e 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -499,6 +499,7 @@ int input_init() { input_mapping_add(L"", L"self-insert"); input_mapping_add(L"\n", L"execute"); + input_mapping_add(L"\r", L"execute"); input_mapping_add(L"\t", L"complete"); input_mapping_add(L"\x3", L"commandline \"\""); input_mapping_add(L"\x4", L"exit"); |