Daniel Imms
26977b370e
Fix crash on negative tab stop width
...
Fixes #851
2017-08-06 13:47:03 -07:00
Daniel Imms
687a5e2efb
Merge pull request #846 from Tyriar/get-v3-level
...
Get v3 level with master
2017-08-06 11:28:18 -07:00
Daniel Imms
b07c0e4d23
Merge remote-tracking branch 'ups/master' into v3
2017-08-06 11:18:39 -07:00
Paris Kasidiaris
9358bf24db
Bump version to 2.9.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2017-08-06 21:03:59 +03:00
Daniel Imms
24932b16d7
jsdoc
2017-08-06 21:03:59 +03:00
Steven Silvester
6cdd5a6405
Prevent webpack error
2017-08-06 21:03:59 +03:00
Paris Kasidiaris
a28d9f1456
Bump version to 2.9.1
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2.9.1
2017-08-06 17:50:53 +00:00
Daniel Imms
3f5b4f49f2
Merge pull request #839 from Tyriar/335_xterm_to_ts
...
Convert xterm.js to TypeScript
2017-08-06 10:49:27 -07:00
Daniel Imms
fb6b173fe7
Merge pull request #843 from Tyriar/842_resize_buffers_bug
...
Resize both buffers on resize, clean up alt buffer state
2017-08-06 10:34:50 -07:00
Daniel Imms
1361ff8e22
Merge branch 'master' into 842_resize_buffers_bug
2017-08-06 10:25:38 -07:00
Daniel Imms
0731f28615
jsdoc
2017-08-06 10:25:25 -07:00
Paris Kasidiaris
f7b58d0718
Merge pull request #834 from blink1073/webpack-fix
...
Prevent Webpack warning in 2.9.0
2017-08-06 13:25:08 +03:00
Daniel Imms
6cf2e8753e
Remove comments
2017-08-06 01:44:27 -07:00
Daniel Imms
33cc78c987
Add explicit types on set/getOption
2017-08-06 01:42:57 -07:00
Daniel Imms
7cd8d1ec74
Resolve todos
2017-08-06 01:42:41 -07:00
Daniel Imms
e0809d526e
Type InputHandler tests
2017-08-06 00:58:21 -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
d46003843b
Add tests for Buffer.fillViewportRows
2017-08-05 20:15:23 -07:00
Daniel Imms
13619d427a
Add a bunch of Buffer tests 🎉
2017-08-05 20:11:26 -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
8a0bcf6b79
Clean up
2017-08-05 11:28:24 -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
da50e33aa8
Finish types on Terminal's properties
2017-08-05 02:50:44 -07:00
Daniel Imms
e6b431d92f
Add one-variable-per-declaration tslint rule
...
Multiple declarations per line makes it more difficult to read what
exactly is declared and generally makes code more verbose and less
likely to fill in types
2017-08-05 02:42:49 -07:00
Daniel Imms
7d1c5d1ac6
Fix tests
2017-08-05 02:34:21 -07:00
Daniel Imms
8903bddb17
Fix a bunch of warnings, remove dead code
2017-08-05 02:28:20 -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
db5b908d62
Move xterm.js -> Terminal.ts
2017-08-05 00:22:31 -07:00
Steven Silvester
6f749b196a
Prevent webpack error
2017-08-03 14:43:51 -05:00
Paris Kasidiaris
f5ba386c01
Bump version to 2.9.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2.9.0
2017-08-03 18:43:14 +00:00
Daniel Imms
0079677e43
Merge pull request #781 from mofux/cursor_color
...
Retain the color of a character for underline and bar cursor styles
2017-08-03 09:16:23 -07:00
mofux
106eda7067
Merge changes from #828
2017-08-02 17:42:43 +02:00
Paris Kasidiaris
f13455965c
Merge pull request #828 from sourcelair/issue-#827-fix-terminal-focus
...
Always focus terminal on click
2017-08-02 18:33:51 +03:00
thomas
5bc0ad879b
Set xterm-color for cursor element
...
Prevent focus from getting lost when in vt mouse mode
Fix: cursor style not applied on init, set a class for block cursor
Make all cursors work under all conditions (focused, unfocused, blink)
Unify cursor rendering with normal rendering code
Make sure underline AND blink can be used in co-existence
Always show outlined block cursor in unfocused state
2017-08-02 15:41:18 +02:00
Paris Kasidiaris
72e85a352a
Focus on mousedown, instead of click
2017-08-02 16:03:56 +03:00
Paris Kasidiaris
49c1ca3f57
Fix #827 : Always focus terminal on click
2017-08-02 10:44:16 +03:00
Daniel Imms
bcff69b79c
Merge pull request #816 from joaomoreno/alt-selection
...
Alt key should force selection
2017-07-28 14:24:45 -07:00
Daniel Imms
3f7fec8c91
Merge branch 'master' into alt-selection
2017-07-28 14:07:43 -07:00
Daniel Imms
3479614c73
Disable selection override on Windows/Linux
2017-07-28 14:06:55 -07:00
Daniel Imms
34f075a8cc
Merge pull request #822 from Tyriar/818_fix_save_restore_cursor
...
Fix save and restore cursor behavior
2017-07-28 08:58:03 -07:00
Daniel Imms
ff165e8627
Merge branch 'master' into 818_fix_save_restore_cursor
2017-07-28 08:33:52 -07:00
Paris Kasidiaris
cdcbf60e44
Merge pull request #823 from jpmasters/master
...
Issue #821 - Prevent TypeError in resize()
2017-07-28 15:02:38 +03:00
Jon Masters
2d4e617c95
Issue #821 - Prevent TypeError in resize()
2017-07-28 11:54:46 +00:00