Daniel Imms
e4abd4dd8a
Move Shared interfaces into a new typings file
...
This will enable sharing the internal interface with addons (and catching
breakages early)
2018-01-19 09:48:33 -08:00
Daniel Imms
47df04976c
Base ITerminal on interface in .d.ts
...
Part of #1221
2018-01-19 09:48:33 -08:00
Daniel Imms
bc424b2f37
Merge pull request #1097 from jdanbrown/pr-bracketedpaste
...
Support bracketed paste mode
2017-11-09 11:05:05 -08:00
Daniel Imms
05cbe41d39
scrollDisp -> scrollLines
...
Fixes #902
2017-11-04 03:20:24 -07:00
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
a8174398f5
Calculate mouse coordinates using correct char dimensions
...
Previously the Mouse class was using raw CSS pixels, we need CSS pixels based
on the amount of space the cells take up on the canvas
See Microsoft/vscode#35114
2017-09-28 17:23:45 -04:00
Daniel Imms
bc824ad6a5
Fix tests
2017-09-14 09:03:41 -07:00
Daniel Imms
ae741348a6
Fix several issues with line height
...
Fixes #966
Fixes #967
2017-09-10 10:31:19 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
ea8dbbd29f
Underline links on hover
2017-09-07 10:20:48 -07:00
Daniel Imms
b69ff5d31a
Redraw terminal when devicePixelRatio changes
2017-09-06 10:22:33 -07:00
Daniel Imms
9506c01824
Add tests for utils/Mouse
2017-09-04 10:27:07 -07:00
Daniel Imms
36778186e1
Fix tests
2017-09-03 14:34:50 -07:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
8427f7490d
Clear state when resizing as canvases get cleared
2017-09-02 21:13:44 -07:00
Daniel Imms
4f81cdfe8c
Make the terminal background theme aware
2017-09-02 13:59:22 -07:00
Daniel Imms
4919c40b57
Add cursor to ITheme
2017-09-01 22:53:21 -07:00
Daniel Imms
bc3bdacdaa
Add a char atlas cache to allow different styles+reuse across terminals
2017-09-01 16:43:45 -07:00
Daniel Imms
a57e511fa3
Properly setup and maintain tab stops for the alt buffer
...
Fixes #930
2017-08-29 21:08:11 -07:00
npezza93
1d6f71d680
Fix bad merge
2017-08-16 20:39:28 -04:00
Daniel Imms
ad1a42d210
Merge remote-tracking branch 'ups/master' into v3
2017-08-08 18:50:34 -07:00
Daniel Imms
b42a9039cc
Rename TestUtils.ts to TestUtils.test.ts
...
This will allow it to be excluded when we do #863
2017-08-07 22:40:15 -07:00