Daniel Imms
13d46476c8
Add null check when fetching line string
...
See Microsoft/vscode#34466
2017-09-28 14:52:56 -04:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
7ccac09b6b
Fix the composition element's position
2017-09-02 18:41:53 -07:00
Daniel Imms
076156b66e
Properly support blinking cursors
2017-09-01 12:59:18 -07:00
Daniel Imms
d93a80398d
Draw unicode characters
2017-08-30 22:23:25 -07:00
Daniel Imms
0db42e2056
Pull bg rendering into an IRenderLayer
2017-08-30 21:13:57 -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
Daniel Imms
bc86664726
Improve Buffer.resize to work with uninitialized buffers
...
Fixes #924
2017-08-25 13:14:30 -07:00
Daniel Imms
a2161532db
Fix reverseIndex to work with scroll regions and 0 scrollback
2017-08-25 12:11:20 -07:00
Daniel Imms
9a8b7a4d8d
Fix scroll region scrolling with 0 scrollback
2017-08-25 11:26:46 -07:00
Daniel Imms
7b0d0e810c
_isAltBuffer -> _hasScrollback
2017-08-16 08:45:30 -07:00
Daniel Imms
9dd1083918
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-16 08:41:42 -07:00
Daniel Imms
996eb1b06f
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-08 19:05:24 -07: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
fd61c8e874
Use a const for all refs to data char and width
...
Part of #791
2017-08-07 15:40:48 -07:00
Daniel Imms
c2bb507fe4
Move BufferLines.ts into Buffer.ts
...
Part of #791
2017-08-07 15:22:58 -07:00
Daniel Imms
e7ee3ec63c
Fix trimming on a buffer with 0 scrollback
...
Unfortunately this removed the padding idea from CircularList as it
would only work when the list is not full.
2017-08-06 18:56:37 -07:00
Daniel Imms
a57f55dcbf
Support buffers with scrollback of 0, force alt as 0
...
Fixes #802
2017-08-06 18:18:49 -07:00
Daniel Imms
109d467b95
Make buffer length = rows + scrollback
...
Fixes #847
2017-08-06 13:28:58 -07:00
Daniel Imms
24932b16d7
jsdoc
2017-08-06 21:03:59 +03:00
Daniel Imms
0731f28615
jsdoc
2017-08-06 10:25:25 -07:00
Daniel Imms
ae3169e6ae
Add CharData and LineData
2017-08-05 21:11:16 -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
aee474b53e
Type InputHandler._terminal
2017-08-05 12:57:29 -07:00
Daniel Imms
41c335c0e6
The terminal works!
2017-08-05 02:22:43 -07:00
Daniel Imms
604959a319
Fix save and restore cursor behavior
...
This broke in #717 .
Fixes #818
2017-07-27 16:28:27 -07:00
Daniel Imms
59f75555bc
Add IBuffer, IBufferSet and fix CircularList type
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
58b9f712df
Improve documentation of Buffer and BufferSet classes
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
0d498fcd52
Correct references to buffer lines
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
393b411acc
Fix CircularList type and a typo
2017-07-16 03:47:15 +03:00
Oleksandr Andriienko
de82bd00ae
Fix some tests and docs, little code fix up.
...
Fix some tests and docs. Add ability to run one test file with help gulp task.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com >
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
4626e19b75
Move scrollTop and scrollBottom into Buffer
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
73b4bfb5f8
Fix some references
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
bbafdd3d06
Start isolating buffer attributes into Buffer class
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
95cb6f30bb
Introduce new Buffer and BufferSet classes
2017-07-16 03:47:15 +03:00