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
Daniel Imms
ad25905783
Fix reset
2017-08-05 11:20:39 -07:00
Daniel Imms
0b5ff47cc0
Give terminal options a proper interface
2017-08-05 02:57:34 -07:00
Daniel Imms
41c335c0e6
The terminal works!
2017-08-05 02:22:43 -07:00
Daniel Imms
2104dccec5
Fix most errors in Terminal.ts
2017-08-05 01:58:42 -07:00
Daniel Imms
59f75555bc
Add IBuffer, IBufferSet and fix CircularList type
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
4effe1f1d9
Add buffers to the ITerminal
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
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
Daniel Imms
280b698a50
More work on findNext
2017-06-12 21:59:46 -07:00
Daniel Imms
8d12881a1c
Very basic find implementation
...
Part of #553
2017-06-12 16:27:13 -07:00
Daniel Imms
32b34cbe4c
Handle copy
2017-05-19 23:53:20 -07:00
Daniel Imms
ad3ae67e70
Get selection partially rendering
2017-05-19 23:29:51 -07:00
Daniel Imms
7ac4f1a9be
Implement link matcher priorities
...
Fixes #549
2017-03-02 11:25:27 -08:00
Daniel Imms
f6dafee748
Remove dead code
2017-02-27 12:52:54 -08:00
Daniel Imms
4c99c032ca
Add tests
2017-02-27 09:47:36 -08:00
Daniel Imms
6198556e50
Implement link validation
...
Fixes #570
2017-02-27 08:35:59 -08:00
Daniel Imms
1306431e7c
Add PhantomJS test support and CharMeasure tests
...
Fixes #534
2017-02-08 19:53:32 -08:00
Daniel Imms
92068f36f2
Pull renderer out of xterm.js
2017-01-31 22:45:28 -08:00
Daniel Imms
0bd469f505
Implement CSI Ps SP q Set cursor style
...
Fixes #480
2017-01-18 10:06:57 -08:00
Daniel Imms
fa3484cd14
Pull character add char code to input handler
2017-01-12 22:17:36 -08:00
Daniel Imms
f4846aa154
Finish CSI codes
2017-01-12 21:58:50 -08:00
Daniel Imms
9b66208029
Add more CSI codes
2017-01-12 21:33:28 -08:00
Daniel Imms
c43c3b411a
Add more CSI codes
2017-01-12 20:51:15 -08:00
Daniel Imms
f9a286a851
Convert more CSI codes
2017-01-12 20:32:15 -08:00
Daniel Imms
411b80cdc0
Add CSI @, E, F, G
2017-01-09 23:06:36 -08:00
Daniel Imms
db81c28bd7
Support more CSI codes, remove unused CSI helper functions
2017-01-09 22:57:38 -08:00
Daniel Imms
9942477bff
Start converting CSI codes
2017-01-09 15:38:54 -08:00
Daniel Imms
04b1ebf1a7
Create InputHandler which performs C0 actions
...
Part of #459
2017-01-08 16:11:35 -08:00
Paris Kasidiaris
824a9c6dbf
Migrate Clipboard handler to TypeScript
...
Also apply JavaScript rules in `.editorconfig` in TypeScript files as well.
Part of #335
2016-12-06 10:01:06 +00:00
Paris Kasidiaris
1d30091188
Update documentation with cleaner license declaration
...
Fix #366
2016-12-01 13:37:20 +00:00
Daniel Imms
30fcdd6ccb
tsify CompositionHelper
2016-11-22 11:47:18 -08:00
Daniel Imms
e0d9871195
Convert Viewport to a TS class
2016-11-21 14:39:08 -08:00