aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorAndrew Kim <andrewdkim@users.noreply.github.com>2019-08-19 00:27:40 -0400
committerAndrew Kim <andrewdkim@users.noreply.github.com>2019-08-19 00:27:40 -0400
commita4bfacd9f494df6698d12d408d736e878c1189eb (patch)
treeb3af89bc30eaf48fd983711c00cd4c28eb662bbc /src/client/views/GlobalKeyHandler.ts
parent1b7e8873ead3cc15349bd4c9e669f3b1edcbbc2b (diff)
parentb037aa89fb564812f880994453ce002054a0ad82 (diff)
merge from master
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index e773014e3..833bacedb 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -194,6 +194,12 @@ export default class KeyManager {
};
});
+ async printClipboard() {
+ let text: string = await navigator.clipboard.readText();
+ console.log(text)
+ console.log(document.activeElement)
+ }
+
private ctrl_shift = action((keyname: string) => {
let stopPropagation = true;
let preventDefault = true;