Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
3b787824d3
Fix import for CommonJS consumers
...
CommonJS now imports the Terminal object directly as the trick in xterm.ts
wasn't working properly.
Fixes #865
2017-08-08 00:24:41 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
e6b431d92f
Add one-variable-per-declaration tslint rule
...
Multiple declarations per line makes it more difficult to read what
exactly is declared and generally makes code more verbose and less
likely to fill in types
2017-08-05 02:42:49 -07:00
Daniel Imms
63d63c27e7
Ensure outside selection pastes are respected
...
We were resetting the selection on every auxclick, meaning outside
selections could not be pasted in when the terminal had a current
selection.
2017-06-20 11:17:12 -07:00
Daniel Imms
dc165175cf
Handle middle click to paste selection
...
This appears to work in Chrome but not Firefox
2017-06-20 10:18:29 -07:00
Jeremy Danyow
ce61795c38
normalize line endings to \r
...
fixes #683
2017-06-14 14:51:36 -07:00
Daniel Imms
2012c8c91d
Move prepareTextForClipboard logic into SelectionManager
2017-06-07 13:42:08 -07:00
Daniel Imms
59cc0b675e
Merge remote-tracking branch 'ups/master' into 207_selection_manager
2017-06-06 14:35:06 -07:00
Daniel Imms
8b1067d180
Remove no longer valid clipboard test and add new one
2017-06-01 17:11:07 -07:00
Paris Kasidiaris
616f069538
Fix #671 - Restore paste event
2017-05-27 15:30:26 +03:00
Daniel Imms
ec61f3acf0
Only trim the right whitespace from selection
...
Fixes #673
2017-05-25 18:52:06 -07:00
Daniel Imms
910aa1ad7f
Properly prepare text for clipboard for context menu
...
This makes the context menu in macOS embed the right text
2017-05-25 18:12:03 -07:00
Daniel Imms
24bed01fa4
Support copy and paste via context menu
2017-05-25 16:17:43 -07:00
Daniel Imms
32b34cbe4c
Handle copy
2017-05-19 23:53:20 -07:00
Jeremy Danyow
0532e5cbf0
Normalize line endings on paste
2017-05-09 15:21:56 -07:00
Paris Kasidiaris
20b6f20908
Make linter happy
2016-12-15 13:57:25 +02:00
Paris Kasidiaris
69e027394d
😱 Fix wrong event type and remove useless interface
2016-12-14 01:43:32 +02:00
Paris Kasidiaris
a34bb9724f
Improve interfaces in Clipboard.ts
2016-12-07 00:07:50 +02:00
Paris Kasidiaris
824a9c6dbf
Migrate Clipboard handler to TypeScript
...
Also apply JavaScript rules in `.editorconfig` in TypeScript files as well.
Part of #335
2016-12-06 10:01:06 +00:00
Paris Kasidiaris
1d30091188
Update documentation with cleaner license declaration
...
Fix #366
2016-12-01 13:37:20 +00:00
hiro-su
5808de648b
Fixed copy event in IE11
2016-11-05 23:55:34 +09:00
Paris Kasidiaris
356377975b
Fix right-click for Firefox and IE
...
Fix #310
2016-11-04 18:33:04 +02:00
hiro-su
77ca15497c
Fixed paste key in IE11
2016-11-02 11:17:37 +09:00
Paris Kasidiaris
00dcb4f6e3
Consider click not on selection, when s.rangeCount is 0
2016-10-31 15:06:00 +02:00
Paris Kasidiaris
a6f047331f
Add forgotten line to keep copied text 😅
2016-09-29 10:59:24 +03:00
Paris Kasidiaris
a224acb50b
Document new Clipboard module
2016-09-29 07:51:31 +00:00
Paris Kasidiaris
42a1e4ef9b
Move clipboard into its own module
2016-09-29 07:51:07 +00:00