Dan Brown
|
1dbcf70cee
|
Support bracketed paste mode
- As described in https://cirw.in/blog/bracketed-paste
- Example support in vim:
- https://github.com/ConradIrwin/vim-bracketed-paste/blob/master/plugin/bracketed-paste.vim
- http://vimdoc.sourceforge.net/htmldoc/term.html#raw-terminal-mode
- Required for e.g. ipython, via python-prompt-toolkit:
- https://github.com/ipython/ipython
- https://github.com/jonathanslenders/python-prompt-toolkit
Repro:
- Run `ipython` (version 6.2.1)
- Copy multiple lines of text and paste into ipython prompt, e.g.
```py
print(1)
print(2)
print(3)
```
- Before: first line would paste and run, and subsequent lines are lost
- After: all lines paste into single prompt
|
2017-10-30 00:26:50 -07:00 |
|
Daniel Imms
|
75b91c618e
|
Update license text
|
2017-09-08 10:16:42 -07:00 |
|
Daniel Imms
|
f9fce53cc4
|
Add typedef tslint rule
|
2017-08-05 13:56:38 -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 |
|
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 |
|