npezza93
aeae40e110
Use the terminal and circular list interface
2018-01-28 12:38:20 -05:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
7358890a31
Merge remote-tracking branch 'ups/master' into 1221_iterminal_typings
2018-01-25 09:45:13 -08:00
Daniel Imms
a22b5c0faa
Merge remote-tracking branch 'ups/master' into 955_worker_refactor
2018-01-25 07:16:00 -08:00
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
307dd0fd68
Add several tslint rules
2018-01-17 10:32:35 -08:00
Daniel Imms
53e1f83bb5
Update tslint, fix lint
2018-01-17 10:23:27 -08:00
Daniel Imms
d0ef868215
Refactor char atlas to enable generation with worker
...
This doesn't actually add workers but it separates the code nicely
such that the minimal amount of relevant code can be pulled in by
worker code.
Part of #955
2018-01-06 13:43:34 -08:00
Daniel Imms
248fbccfd9
Remove console.log
2018-01-05 14:18:16 -08:00
Daniel Imms
ecc1055c10
Listen to resolution media query
2018-01-02 10:11:24 -08:00
Daniel Imms
72d946e089
Use a more robust solution to changing devicePixelRatio
2017-12-29 13:54:01 -08:00
Thomas Zilz
b4e52b2334
Fix fit() sizing and also support letterSpacing, enhanced ( #1157 )
...
Fixes #1081
* Make sure character dimensions are available right after calling term.open()
* Do not assume var assignments are global anymore, webpack will isolate them
* Use DocumentFragment to build Viewport and helpers before attaching them to the DOM
* Shield term.focus call from crashing when used before term.open
2017-12-20 20:06:23 +01: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
dbec3a32f8
Fix selecting of last column
...
Fixes #1029
2017-11-05 12:06:25 -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
Jakob Gillich
7cfc108fb4
remove import file extension
2017-10-05 01:35:34 +02:00
Daniel Imms
56da538ca0
Fix reference to document
2017-10-02 11:12:33 -07:00
Daniel Imms
42d5cb671e
Merge remote-tracking branch 'ups/v3' into v3
2017-10-02 11:00:24 -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
79c07d436e
Fix selection horizontal offset
...
Fixes #1000
2017-09-20 11:53:19 +09:00
Daniel Imms
691ab2b02c
Merge remote-tracking branch 'ups/v3' into 986_selection_exception
2017-09-14 09:06:00 -07:00
Daniel Imms
0cf9f1d536
Fix tests
2017-09-14 09:05:50 -07:00
Daniel Imms
bc824ad6a5
Fix tests
2017-09-14 09:03:41 -07:00
Daniel Imms
a52b9feeea
Ensure mouse coordinates are always within rows/cols
...
Fixes #986
2017-09-13 14:03:40 -07:00
Daniel Imms
403fd3cd4f
Draw text using decimal numbers
...
Fixes #972
2017-09-12 18:55:59 -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
923ea7247c
Get links working on proper coords
2017-09-03 11:39:17 -07:00
Daniel Imms
48b37453ea
Ensure char measure's line height isn't influenced by outside
2017-09-03 08:40:00 -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
24a98f2fa8
Remove rowContainer and children, disable Linkifier
2017-09-02 13:26:05 -07:00
Daniel Imms
c92a2f964a
Support lineHeight
2017-09-02 12:27:09 -07:00
Daniel Imms
4919c40b57
Add cursor to ITheme
2017-09-01 22:53:21 -07:00
Daniel Imms
6ee8e9126a
Remove some old dead code
2017-09-01 21:38:35 -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
62fea4d3ed
Add theme support
2017-09-01 15:50:18 -07:00
Daniel Imms
81d93b8fbf
Ensure CharMeasure exposes integers
2017-08-31 23:23:04 -07:00
Daniel Imms
15c73ef94f
Add fontSize and fontFamily options
2017-08-31 22:42:39 -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
dcylabs
81cbeb1d5a
Fixed selection issue when terminal is in nested scrolled elements
2017-08-22 00:34:03 +02:00
dcylabs
d69a01193d
Fixed selection issue when terminal is in nested scrolled elements
2017-08-21 21:29:05 +02:00