Daniel Imms
53e1f83bb5
Update tslint, fix lint
2018-01-17 10:23:27 -08: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
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
cf6c11db14
Merge remote-tracking branch 'origin/v3' into 1048_enableBold
2017-10-17 12:41:13 -07: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
ea0c2285bc
Merge remote-tracking branch 'ups/v3' into 963_cursor_accent
2017-09-14 09:02:00 -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
6c06d83525
Support theming cursor accent color
...
Fixes #963
2017-09-10 08:01:16 -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
e960a0a82c
Add ILinkMatcherOptions.hoverEndCallback
2017-09-06 16:05:09 -07:00
Daniel Imms
0dc24cf800
Move theme setting into setOption API
2017-09-04 13:41:56 -07:00
Daniel Imms
ff31f34551
Add selection to ITheme
2017-09-04 08:14:40 -07:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
b30cb58ff4
Support hover callback in links
2017-09-03 12:47:04 -07:00
Daniel Imms
7ccac09b6b
Fix the composition element's position
2017-09-02 18:41:53 -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
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
ee4b71c8e7
Remove Terminal.options.colors
...
It wasn't being used
2017-09-02 10:51:08 -07:00
Daniel Imms
4919c40b57
Add cursor to ITheme
2017-09-01 22:53:21 -07:00
Daniel Imms
dc1e727613
Support blurred cursor
2017-09-01 22:42:31 -07:00
Daniel Imms
62fea4d3ed
Add theme support
2017-09-01 15:50:18 -07:00
Daniel Imms
3fc500b291
Pull cursor animation state management into a helper class
2017-09-01 12:11:07 -07:00
Daniel Imms
15c73ef94f
Add fontSize and fontFamily options
2017-08-31 22:42:39 -07:00
Daniel Imms
5ce39d3c81
GPU ascii rendering
2017-08-30 19:12:29 -07:00
Daniel Imms
c6d4c73c8a
Initial prototype
2017-08-30 14:50:16 -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
68cd79db34
Set bellStyle to a string type instead of an array of strings
2017-08-17 19:44:37 -04:00
npezza93
1d6f71d680
Fix bad merge
2017-08-16 20:39:28 -04:00
npezza93
2f1380a31d
Make bellStyle singular. Preload sound on option setting. Use strings as options
2017-08-16 20:39:28 -04:00
npezza93
8a1f365a7e
Add ability to have a visual bell
2017-08-16 20:39:27 -04:00
Daniel Imms
ad1a42d210
Merge remote-tracking branch 'ups/master' into v3
2017-08-08 18:50:34 -07:00
Daniel Imms
bb526aaa88
Fix exception when resizing both dimensions
...
This happened because buffers now resize themselves but they were
relying on Terminal to give them a blank line. The blank line was
coming back with the old columns value, causing an NPE.
Fixes #860
2017-08-08 12:59:02 -07:00
Daniel Imms
e9b0867bd2
addons/test.js and test.js -> Terminal.test.ts
...
Part of #862
2017-08-07 22:15:13 -07:00
Daniel Imms
c2bb507fe4
Move BufferLines.ts into Buffer.ts
...
Part of #791
2017-08-07 15:22:58 -07:00
Daniel Imms
7cd8d1ec74
Resolve todos
2017-08-06 01:42:41 -07:00
Daniel Imms
ae3169e6ae
Add CharData and LineData
2017-08-05 21:11:16 -07:00
Daniel Imms
2878d978c4
Fix lint
2017-08-05 21:06:04 -07:00
Daniel Imms
56ec6ed22c
Merge branch '842_resize_buffers_bug' into 335_xterm_to_ts
...
setOption('scrollback', 0) no longer returns false, it just warns.
2017-08-05 20:48:42 -07:00
Daniel Imms
f03d00a497
Clean up buffer clean up/fill logic
...
The alt buffer is now cleared immediated after activating the normal buffer and
is filled when switching to it. The tests were failing because the alt buffer
wasn't being cleared properly with the previous solution.
2017-08-05 19:42:54 -07:00
Daniel Imms
3d20c2f266
Resize both buffers on resize
...
This brings in proper support to resize both buffers (#510 ) and fixes an
exception that was caused by wrongfully not clearing the normal buffer when
resizing while the alt buffer is active.
There was an obscure bug in this that could have caused some great confusion
later on; When switching to the alt buffer, a hard terminal reset was performed
which tried to retain the buffers. However, because buffers was initialized in
the Terminal constructor to a new BufferSet, the Terminal.buffer convenience
pointer was pointing at a stale alt buffer which was the one actually being
used, not Terminal.buffers.alt.
Fixes #842
Fixes #510
2017-08-05 18:59:44 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
aee474b53e
Type InputHandler._terminal
2017-08-05 12:57:29 -07:00