Commit Graph
55 Commits
Author SHA1 Message Date
Daniel Imms d29a527724 Introduce the public module 2018-06-10 16:40:36 +01:00
Bruno Ribeito 13d5ad6506 Fix Demo String Options 2018-06-03 19:53:51 +01:00
Daniel Imms c748b02111 Add rendererType 2018-06-03 16:21:23 +02:00
Daniel Imms adb0cf41ab Improve display of options 2018-06-03 15:37:01 +02:00
Daniel Imms 908b06cfa7 Some polish 2018-06-03 11:18:34 +01:00
Daniel Imms 2d786910c8 Correctly set cols/rows 2018-06-03 11:10:11 +01:00
Daniel Imms 5b04451b05 console error on setting ctor only option via setOption 2018-06-03 11:02:39 +01:00
Daniel Imms 4d5e305a25 Generate inputs for all options in demo 2018-06-03 10:37:20 +01:00
Benjamin Woodruff 9c0ce1d742 Fix DynamicCharAtlas with transparency
There were two bugs:
- We need to clear the background of _tmpCtx instead of just drawing on
  top if the background color is transparent.
- We should set the background to fully transparent if it's partially
  transparent, to avoid drawing the transparent background twice.
2018-04-15 19:43:23 -07:00
Benjamin Woodruff 8c980bc30d Add a dummy NoneCharAtlas implementation
This adds the logic needed to switch between multiple char atlas
implementations, and an example second implementation to test it out
with.

This also offers an escape hatch if something goes wrong with the char
atlas implementation(s).
2018-04-15 18:03:55 -07:00
Daniel Imms dc822787d0 Move http links to the new webLinks addon
Fixes #1297
2018-02-23 11:11:23 -08:00
Daniel Imms f089b997c0 Merge branch 'master' into 731_screen_reader 2018-02-14 09:03:31 -08:00
Thomas Zilz dc759a93bc Support setting padding on the .xterm element (#1208)
* Support padding on the .xterm element
2018-02-06 12:31:17 +01:00
Daniel Imms 963db4d2fd Remove navigation mode/more rows element 2018-01-27 14:48:45 -08:00
Daniel Imms c2d78e57d0 Fix screenReadeMode disable in demo 2018-01-23 09:49:43 -08:00
Daniel Imms 421a885acd Merge remote-tracking branch 'origin/master' into 731_screen_reader 2018-01-22 06:32:38 -08:00
Daniel Imms e4726192f1 Various fixes
- altIsMeta -> macOptionIsMeta
- Moved isThirdLevelShift into Terminal class
- Moved option check into isThirdLevelShift so it doesn't affect the Windows
  case and also includes the keypress case
- Add public API and typings test
- Add option checkbox to demo
2018-01-20 09:06:05 -08:00
Saad Malik 891fbd6b80 Mac OSX: altIsMeta support
* Support for altIsMeta option
* Instead of providing third-level shift characters
* Sample demo application using new altIsMeta option
2018-01-19 12:10:39 -08:00
Daniel Imms 222c42f7ea Expose screen reader and navigation mode on demo/API 2018-01-16 10:29:40 -08:00
Thomas Zilz b4e52b2334 Fix fit() sizing and also support letterSpacing, enhanced (#1157)
Fixes #1081

* Make sure character dimensions are available right after calling term.open()
* Do not assume var assignments are global anymore, webpack will isolate them
* Use DocumentFragment to build Viewport and helpers before attaching them to the DOM
* Shield term.focus call from crashing when used before term.open
2017-12-20 20:06:23 +01:00
Paris Kasidiaris da604ff69c Fix webpack task in Gulp and fit add-on 2017-12-16 11:29:12 +02:00
Paris Kasidiaris 8830820821 Update demo to use Webpack 2017-12-12 08:46:06 +00:00
Daniel Imms 700a10f3f4 Initial winptyCompat addon 2017-10-27 10:23:46 -07:00
Daniel Imms be8ddb11db Add support back for IE11
Fixes #1033
2017-10-05 20:22:05 -07:00
Daniel Imms 66c891df5b Fix resize adding right padding on demo 2017-09-06 15:36:40 -07:00
Daniel Imms 5cd189e2e0 Fix demo pty size 2017-09-01 21:36:20 -07:00
Daniel Imms bf95333275 Fix the fit addon 2017-09-01 20:44:41 -07:00
npezza93 c88f50125b Add a bellStyle dropdown in the demo 2017-08-17 18:02:12 -04:00
npezza93 2f1380a31d Make bellStyle singular. Preload sound on option setting. Use strings as options 2017-08-16 20:39:28 -04:00
npezza93 8a1f365a7e Add ability to have a visual bell 2017-08-16 20:39:27 -04:00
Daniel Imms c13b86a885 Add find to demo 2017-07-09 01:03:10 -07:00
Daniel Imms 46d62f4972 Support cursorStyle selection in demo 2017-04-19 18:16:48 -07:00
Paris Kasidiaris 6e1628bc3b Fixes on demo based on configurable tabStopWidth 2017-01-21 00:32:39 +02:00
Paris Kasidiaris 8cb46f2726 Move tabStopWidth option callback into setOption 2017-01-20 16:19:19 +00:00
Paris Kasidiaris f4293a6dfa Fix #488: Implement configurable tab width 2017-01-20 16:18:19 +00:00
Daniel Imms 375ccbd9e2 Merge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh 2017-01-15 02:22:45 -08:00
Daniel Imms 7679475bfe Apply cursorBlink via setOption
Fixes #478
2017-01-13 21:31:31 -08:00
Daniel Imms 5a932b2a20 Apply scrollback via setOption
Fixes #476
2017-01-13 21:27:19 -08:00
Paris 0f8fc63a5e First functional resizing demo
Fix #211
2016-08-05 12:28:22 +03:00
Paris f57a40eeb3 First batch of improvements to demo
- Used fetch tentatively
- Implemented resize endpoint
- Create terminals with the appropriate size
2016-08-05 08:46:49 +00:00
Daniel Imms e0c0fb6917 Add basic options selection to demo
This will make it easier to test options without needing to modify the demo.
2016-06-10 19:15:58 -07:00
Paris 53e8df40bb Implement fully featured terminal demo w/ static fallback 2016-06-07 08:41:41 +00:00
Paris 0fd0f45d8b Fix indentation 2016-06-06 19:38:13 +03:00
Paris 8fa1a46584 Handle the paste event better 2016-06-02 13:05:58 +03:00
Paris 6406a88ddf pointless 2016-04-08 18:10:27 +03:00
Jean Bruenn d516d4df7c Update main.js
just a tiny change, if you are using the demo file as example to start working with, prompt as variable might cause trouble if you do use prompt() rather use shellprompt as variable name instead of prompt. I'd suggest to rename term's prompt() as well to not cause confusion.
2015-09-08 14:08:44 +02:00
paris af39a3fcc0 Fix #8
Also fix some Internet Explorer incompatibilities
2015-01-19 19:06:17 +02:00
paris 567b39dc98 Fix #6 2014-09-22 05:48:05 +00:00
paris 0997f4398f Proper event handling
Bump bower version to 0.7
2014-04-10 14:39:17 +00:00
paris dc3946f6da Implemented Terminal.prototype.fit
Implemented fit method for Terminal objects, which:
  - Fits the terminal's columns to its parent element width
  - Fits the terminal's rows to its parent element height
2014-03-25 19:18:19 +00:00