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
9c4ef2fd86
Merge remote-tracking branch 'origin/master' into fix_lint
2018-01-18 12:11:21 -08:00
Markus F.X.J. Oberhumer
83921c0b26
Add support for modifiers for PageUp / PageDown keys.
...
This allows using Ctrl-PageUp/Down and Alt-PageUp/Down.
2018-01-18 09:23:05 +01:00
Daniel Imms
4588d15738
Add more tslint rules, fix attach addon
2018-01-17 10:40:42 -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
f6da87f3b4
Merge remote-tracking branch 'origin/master' into 1118_dpi_change
2018-01-05 14:19:21 -08:00
Daniel Imms
0819759814
Allow alt+backspace to delete a word
...
Fixes #1179
2018-01-02 10:33:17 -08:00
Daniel Imms
72d946e089
Use a more robust solution to changing devicePixelRatio
2017-12-29 13:54:01 -08:00
Daniel Imms
ef5beb6706
Update charatlas when monitor DPI changes
...
Fixes #1118
2017-12-29 08:30:13 -08:00
Daniel Imms
f24a94b341
Move syncBellSound after helperContainer init
2017-12-26 04:06:00 -08:00
Daniel Imms
98d25607a9
Prevent exception when setting bellSound before open
...
Fixes #1165
2017-12-26 02:22:09 -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
Paris Kasidiaris
510de73996
Port addons to new applyAddon API and TypeScript
2017-12-12 08:46:06 +00:00
Paris Kasidiaris
4c4684295e
First PoC of .applyAddon
2017-12-12 08:46:06 +00:00
Daniel Imms
4f144dc6eb
Merge pull request #1121 from Tyriar/841_remove_geometry
...
Remove geometry
2017-11-21 09:00:57 -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
0b90feab1e
Remove geometry
...
Fixes #841
2017-11-09 10:02:28 -08:00
Bruno Ribeito
9c4ff54f22
Fix review comments
2017-11-05 21:13:54 +00:00
Bruno Ribeito
b7438d57cf
Fix #948
2017-11-05 15:11:02 +00:00
Daniel Imms
3921457bf3
Merge pull request #1104 from Tyriar/902_scrollLines_api
...
Replace scrollDisp with the more descriptive scrollLines
2017-11-04 20:43:06 -07:00
Daniel Imms
05cbe41d39
scrollDisp -> scrollLines
...
Fixes #902
2017-11-04 03:20:24 -07:00
Daniel Imms
aaa7e91855
Merge pull request #1091 from Tyriar/1090_force_selection
...
Don't send mouse events when selection is forced
2017-11-01 08:46:38 -07:00
Paris Kasidiaris
36a155dd1a
Merge pull request #1065 from exsilium/iPadHWArrowsV3
...
Apple iPad - Smart Keyboard Arrows - v3
2017-10-31 12:12:12 +02: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
d81df46453
Don't send mouse events when selection is forced
...
Fixes #1090
2017-10-27 16:48:00 -07:00
Daniel Imms
cf6c11db14
Merge remote-tracking branch 'origin/v3' into 1048_enableBold
2017-10-17 12:41:13 -07:00
Exile
822b31f7b7
Addressing linter errors
2017-10-16 08:02:03 +00:00
Exile
0684e05877
Smart Keyboard Arrows
2017-10-16 07:17:51 +00:00
Daniel Imms
a622b97a94
Support enableBold option
2017-10-13 13:13:38 -07:00
Daniel Imms
1b2bac7aef
Add letterSpacing option
...
This provides an option for fonts to be more spaced out. This is particularly useful
for fonts that can seem crammed due to not allowing floating point numbers when
drawing, such as Monoid or Operator Mono.
2017-10-09 20:07:30 -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
c2502bf0b0
Merge pull request #978 from Tyriar/953_user_scrolling_fix
...
Improve scrolling while user has scrolled up
2017-09-14 09:01:13 -07:00
Daniel Imms
aca7ab63e8
Set background color on Renderer immediately
...
Prevents black flash on init
2017-09-14 00:22:57 -07:00
Daniel Imms
6899e01fc1
Improve scrolling while user has scrolled up
...
Fixes #953
2017-09-12 15:06:23 -07:00
Daniel Imms
1897f0f51a
Merge pull request #968 from Tyriar/line_height_fixes
...
Fix several issues with line height
2017-09-11 09:42:06 -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
0e3518409e
Fix issues with link state
...
- Scrolling will now clear the link renderer
- Refreshing a single line will now recalculate only that line
Fixes #959
Fixes #960
2017-09-09 19:06:30 -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
0dc24cf800
Move theme setting into setOption API
2017-09-04 13:41:56 -07:00
Daniel Imms
36778186e1
Fix tests
2017-09-03 14:34:50 -07:00
Daniel Imms
e518ea04c5
Get tests reporting failures again
2017-09-03 14:21:30 -07:00
Daniel Imms
b30cb58ff4
Support hover callback in links
2017-09-03 12:47:04 -07:00
Daniel Imms
5619abe12d
Basic link support using mouse zone manager
2017-09-03 11:20:29 -07:00
Daniel Imms
a3297b0017
Fix viewport/background size after char size changed
2017-09-03 07:57:16 -07:00
Daniel Imms
4f81cdfe8c
Make the terminal background theme aware
2017-09-02 13:59:22 -07:00
Daniel Imms
8039fd35e6
Remove unused CSS, selectionElement
2017-09-02 13:34:01 -07:00