Paris Kasidiaris
a34bb9724f
Improve interfaces in Clipboard.ts
2016-12-07 00:07:50 +02: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
Daniel Imms
55314e0fc7
Position the textarea at top:0
...
This prevents the browser from scrolling to the top of the page if the terminal
can be scrolled out of view.
Fixes #357
2016-12-05 11:19:36 -08:00
Paris Kasidiaris
1d30091188
Update documentation with cleaner license declaration
...
Fix #366
2016-12-01 13:37:20 +00:00
Daniel Imms
2bc8adee8c
Scroll to bottom whenever handler is called
...
This catches all current and future cases for correctly scrolling to the bottom
on input by handling it in the handler immediately before emitting the data
event.
Fixes #378
2016-11-28 10:41:05 -08:00
Daniel Imms
48b87c2f40
Merge remote-tracking branch 'upstream/master' into 335_CompositionHelper_ts
2016-11-28 08:16:38 -08:00
Daniel Imms
ca818fbf04
Merge pull request #379 from Tyriar/378_cannot_scroll_up_1plus_pages
...
Only scroll to bottom during composition or result.key is evaluated
2016-11-28 08:07:00 -08:00
Daniel Imms
264fe4edc7
Merge pull request #372 from Tyriar/335_viewport_tidy
...
Clean up viewport more after TS conversion
2016-11-28 08:06:50 -08:00
Daniel Imms
3b2e89d878
Only scroll to bottom during composition or result.key is evaluated
...
Fixes #378
2016-11-27 01:49:45 -08:00
Daniel Imms
15a94240eb
Implement ^\ String Terminator
...
Fixes #376
2016-11-26 14:59:53 -08:00
Daniel Imms
f75b7db90e
Move CompositionHelper header comment to class
2016-11-22 11:54:42 -08:00
Daniel Imms
81dc48ef00
Clean up viewport more after TS conversion
...
Part of #335
2016-11-22 11:53:45 -08:00
Daniel Imms
3638ef808b
tsify CompositionHelper test
2016-11-22 11:50:08 -08:00
Daniel Imms
f24cba722a
Rename composition-helper-test.js -> CompositionHelper.test.ts
2016-11-22 11:48:16 -08:00
Daniel Imms
30fcdd6ccb
tsify CompositionHelper
2016-11-22 11:47:18 -08:00
Daniel Imms
b0df236dea
Rename CompositionHelper.js -> CompositionHelper.ts
2016-11-22 11:36:34 -08:00
Daniel Imms
1ee316ca83
Merge remote-tracking branch 'upstream/master' into 368_custom_handler_before_scroll
2016-11-22 10:23:04 -08:00
Daniel Imms
dcbf014402
Merge pull request #367 from Tyriar/363_modifier_keys_no_scroll
...
Prevent keyboard modifier events from scrolling down
2016-11-22 08:00:23 -08:00
Daniel Imms
5bddb93745
Adopt more TS syntax in Viewport.test.ts
2016-11-21 14:44:10 -08:00
Daniel Imms
51932161af
Move viewport-test.js to Viewport.test.ts
2016-11-21 14:39:58 -08:00
Daniel Imms
e0d9871195
Convert Viewport to a TS class
2016-11-21 14:39:08 -08:00
Daniel Imms
634d4af4dd
Rename Viewport.js -> Viewport.ts
...
Part of #335
2016-11-21 14:27:41 -08:00
Daniel Imms
a507e4f002
Add test for not scrolling on custom handler
2016-11-21 14:23:28 -08:00
Daniel Imms
c15fed382d
Evaluate the custom keydown event handler before scrolling down
...
Fixes #368
2016-11-21 14:04:13 -08:00
Daniel Imms
9937d54410
Prevent keyboard modifier events from scrolling down
...
Fixes #363
2016-11-21 14:01:20 -08:00
Daniel Imms
bf4ef599ad
Merge remote-tracking branch 'upstream/master' into typescript_build_2
2016-11-12 13:46:59 -08:00
YuviPanda
6dcf7267a5
Add doc comment for scroll event
2016-11-11 16:28:25 -08:00
YuviPanda
5712365cac
Add docstring for the open event
2016-11-11 16:27:10 -08:00
YuviPanda
1fc5a9aada
Add docstring for the title event
2016-11-11 16:27:01 -08:00
hiro-su
547db92693
Fix the right click paste in IE11
2016-11-08 14:56:57 +09:00
hiro-su
5808de648b
Fixed copy event in IE11
2016-11-05 23:55:34 +09:00
Paris Kasidiaris
9ab0455b05
Merge pull request #342 from sourcelair/issue-#310-cross-browser-right-click
...
Make right-click work on all browsers
2016-11-04 20:40:53 +00:00
Paris Kasidiaris
55ab36662a
Merge pull request #336 from sourcelair/issue-#216-no-auto-scroll-on-output
...
Stop auto scrolling to bottom on output
2016-11-04 19:55:07 +00:00
Paris Kasidiaris
bc70b3b37d
Fix tests
2016-11-04 19:36:30 +02:00
Paris Kasidiaris
d426c99866
Move all browser/platform detecting in utils/Browser.js
2016-11-04 18:41:00 +02:00
Paris Kasidiaris
356377975b
Fix right-click for Firefox and IE
...
Fix #310
2016-11-04 18:33:04 +02:00
Paris Kasidiaris
0de3d839e6
Improve experience and add test
...
- Scroll to bottom on keydown (when scrolled up)
- Add test to ensure above behavior
2016-11-04 12:29:17 +00:00
hiro-su
77ca15497c
Fixed paste key in IE11
2016-11-02 11:17:37 +09:00
Daniel Imms
56ecc77dfc
Refactor TS build and fix testing
...
This change is largely just moving files with minor tweaks to them to fix,
the rest of the commit is build process changes:
- The addons/ and test/ dirs have been moved to src/
- The build directory has been removed
- TypeScript builds are output in out/, this is where tests are run
- The demo now relies on the dist/ build which is performed as part of ./bin/build
- Addons are now shipped under the ./build directory
2016-10-31 21:22:21 -07:00
Paris Kasidiaris
00dcb4f6e3
Consider click not on selection, when s.rangeCount is 0
2016-10-31 15:06:00 +02:00
Daniel Imms
a077860464
Force nowrap on each line
...
Fixes #327
2016-10-26 18:07:55 -07:00
Mikko Karvonen
5e68acfc76
Quick fix to prevent terminal scrolling when user is looking into scrollback.
2016-10-25 13:54:57 +03:00
Daniel Imms
868f15173d
Fix the textarea in the composition view's pos when composing
...
Fixes #322
2016-10-24 11:06:25 -07:00
Paris Kasidiaris
06a93344bb
Merge pull request #321 from sourcelair/issue-#313-document-terminal-constructor
...
Issue #313 document terminal constructor
2016-10-24 19:01:37 +03:00
Paris Kasidiaris
e8e7870be2
Remove geometry option from terminal consttructor
2016-10-23 17:55:37 +03:00
Paris Kasidiaris
a9417c6878
Fix term.geometry and document it in constructor options
...
Set `term.geometry` on terminal creation and on resize
2016-10-23 14:22:00 +00:00
Daniel Imms
553c651166
Correctly size and position the composition view
2016-10-22 16:27:17 -07:00
Daniel Imms
1ec0bac9c6
Keep composition textarea within viewport
...
Part of #299
2016-10-22 15:41:55 -07:00
Daniel Imms
8a124d0b35
Merge pull request #308 from Tyriar/294_scroll
...
Implement scrollPages, scrollToTop, scrollToBottom and add scroll tests
2016-10-10 08:33:09 -07:00
Daniel Imms
0ad02a4afa
Add note that negative scrolls up on scrollPages
2016-10-10 08:25:01 -07:00