summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 21:20:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 21:20:32 +0300
commit11bab6c211e60bfa7e50cf3de10429c1feaf9547 (patch)
tree932054e8ddf6699c333a254ddb82857fd10af0f8 /src/input
parent68291eca8eecf85a0b928ede37cd62d42e910d90 (diff)
downloadmanaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.gz
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.bz2
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.tar.xz
manaplus-11bab6c211e60bfa7e50cf3de10429c1feaf9547.zip
Add chat command for copy text to clipboard.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a21cc42c1..d3f36d21c 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5666,6 +5666,12 @@ static const InputActionData inputActionData
"clearoutfit|outfitclear",
UseArgs_false,
Protected_true},
+ {"keyClipboardCopy",
+ defaultAction(&Actions::clipboardCopy),
+ InputCondition::INGAME,
+ "clipboardcopy|copyclipboard",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction