Commit Graph

442 Commits

Author SHA1 Message Date
Daniel Imms
3f7fec8c91 Merge branch 'master' into alt-selection 2017-07-28 14:07:43 -07:00
Jon Masters
2d4e617c95 Issue #821 - Prevent TypeError in resize() 2017-07-28 11:54:46 +00:00
Joao Moreno
f872ced863 oops, this is a function 2017-07-25 11:30:03 +02:00
Joao Moreno
9a30b98880 safeguard npe 2017-07-25 10:45:45 +02:00
Joao Moreno
80a83ff8d9 wip: alt forces selection 2017-07-24 18:08:11 +02:00
Paris Kasidiaris
634f4e29aa Remove redundant comment 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
f09918f0d2 Fix variable name 2017-07-16 03:47:15 +03:00
Aleksandr Andriienko
4e35904392 Fix regression. Existing tests work again.
Signed-off-by: Aleksandr Andriienko <oandriie@redhat.com>
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
d222eec9f7 Fix SelectionManager initializing 2017-07-16 03:47:15 +03:00
Paris Kasidiaris
2cda163bcf Fix forgotten merge conflict 2017-07-16 03:47:15 +03:00
Aleksandr Andrienko
6810de85e1 Fix turning from alt screen to normal screen and vice versa. Fix https://github.com/sourcelair/xterm.js/issues/229 . 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
d75e0b99d5 Fix more references to buffer.x 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
8ede1fc9d2 Create terminal.buffer convenience attribute 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
e2b43a4ced Merge branch 'master' into guard_selection_api 2017-07-14 09:51:58 -07:00
mofux
6df6aad303 Improve guard expression for hasSelection 2017-07-14 18:41:55 +02:00
mofux
1b6ce6dab6 Make sure selection manager is available (only after open() was called) 2017-07-14 18:40:32 +03:00
mofux
1cc0d43aa4 Clear selection on input 2017-07-14 18:40:32 +03:00
mofux
0af4b17c20 Guard public selection api 2017-07-14 15:56:14 +02:00
Daniel Imms
9e95024a9d Merge branch 'master' into bad_getOption_param 2017-07-13 11:47:41 -07:00
Daniel Imms
adc657898c Remove bad getOption param 2017-07-13 09:23:56 -07:00
Daniel Imms
af58643ee7 Merge branch 'master' into 553_find_api 2017-07-13 08:37:04 -07:00
Christof Marti
27f0eaf71d Check if we still need to measure the char size (fixes #785) 2017-07-11 15:48:08 -07:00
Daniel Imms
11de0d0ca0 Merge remote-tracking branch 'ups/master' into 553_find_api 2017-07-08 23:07:57 -07:00
Daniel Imms
85c892c218 Don't refresh terminal when scrollDisp doesn't scroll
Fixes #765
2017-07-06 21:16:20 -07:00
Anish Athalye
6223342890 Add scroll functionality for mobile 2017-07-03 19:49:16 -07:00
irokas
0a5d7a7bd2 Set minimum scrollback value to number of rows if needed on resize 2017-07-02 21:10:18 +00:00
irokas
35d26f1d27 Fix issue with small scrollback value.
Closes #506
2017-07-02 14:22:24 +03:00
Aleksandr Andriienko
d1712424c8 Fix docs. 2017-06-30 09:57:24 +03:00
Oleksandr Andriienko
16f865987d Little code clean up. 2017-06-29 23:36:07 +03:00
Daniel Imms
baccca843c Merge branch 'master' into 553_find_api 2017-06-22 19:37:18 -07:00
Daniel Imms
19381454ad Get find working as an addon 2017-06-22 19:36:53 -07:00
Daniel Imms
0c7c307de3 Merge branch 'master' into customKeypressHandler 2017-06-21 08:51:15 -07:00
Daniel Imms
eb59b90790 Merge branch 'master' into 699_linux_middle_click 2017-06-21 08:29:54 -07:00
Daniel Imms
ba54f25b8c Merge branch 'master' into 718_selection_on_top 2017-06-21 08:25:05 -07:00
Daniel Imms
63d63c27e7 Ensure outside selection pastes are respected
We were resetting the selection on every auxclick, meaning outside
selections could not be pasted in when the terminal had a current
selection.
2017-06-20 11:17:12 -07:00
Daniel Imms
ef1e2ab9e2 Use auxclick event 2017-06-20 10:49:58 -07:00
Daniel Imms
6f5f68df1a Add a comment 2017-06-20 10:24:16 -07:00
Daniel Imms
dc165175cf Handle middle click to paste selection
This appears to work in Chrome but not Firefox
2017-06-20 10:18:29 -07:00
Daniel Imms
32f1782c84 Fix context menu in firefox
Fixes #721
2017-06-20 10:01:39 -07:00
Daniel Imms
8811d96a8b Fix selection going to clipboard
Part of #699
2017-06-19 15:45:18 -07:00
CHaBou
8e79d53d78
Add attachCustomKeyEventHandler()
Use a uniq customKeyEventHandler for keyDown and keyPress events
Mark and warn attachCustomKeydownHandler() as deprecated.
2017-06-19 22:03:19 +02:00
Daniel Imms
57921e3fe0 Render selection on top of rows
Fixes #718
2017-06-19 11:18:55 -07:00
CHaBou
95aed8fcb0
Add customKeypressHandler 2017-06-16 20:23:48 +02:00
Daniel Imms
5360277594 Merge remote-tracking branch 'origin/master' into 553_find_api 2017-06-13 19:57:52 -07:00
Daniel Imms
f88dcd160c Expose API on Terminal 2017-06-13 19:49:12 -07:00
Daniel Imms
8d12881a1c Very basic find implementation
Part of #553
2017-06-12 16:27:13 -07:00