Commit Graph

31 Commits

Author SHA1 Message Date
Paris Kasidiaris
ed1a31d1cf Make src/xterm.js ES2015 and export EventEmitter into its own file
Fix #158
2016-08-29 19:51:40 +00:00
Daniel Imms
95d9ad46cf By more explicit in security warning
Calling out that the insecurity is due to the barebones implementation
of the demo will prevent people thinking that the library is inherently
insecure.
2016-08-08 10:38:01 -07:00
Paris
5ce012bdac Add notice about security risks 2016-08-08 16:28:29 +03: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
15cf76c767 Bind to 127.0.0.1 on Windows only 2016-06-22 20:43:41 -07:00
Daniel Imms
623853f3f4 Get demo working on Windows
- Removed bin bash scripts in favor of npm scripts so they work
  cross-platform
- Moved to use 127.0.0.1 as 0.0.0.0 doesn't work on Windows

Note that this doesn't work with the current pty.js as it doesn't build on
Windows.
2016-06-13 15:55:47 -07: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
Daniel Imms
7a80efd8bd Don't crash demo server on refresh
Fixes #100
2016-06-08 19:28:55 -07:00
Daniel Imms
47b01786e2 Add http:// to demo output address
This makes it easy to launch the demo in a browser by right clicking the URL in
gnome-terminal
2016-06-07 16:43:33 -07:00
Paris
d82c008052 Make cursor hollow on blur
Fix #79
2016-06-07 10:42:21 +00: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
TDaglis
ee0d15c878 added *.css rules in .editorconfig for indent consistency 2015-11-11 10:36:20 +02: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
a249d2714f Fix terminal fitting height 2014-08-19 13:24:43 +00:00
paris
189a556408 Moved fit into its own addon 2014-04-11 02:04:56 +00:00
paris
c7f4658e97 Add fullscreen mode plug in 2014-04-10 15:20:41 +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
paris
77b1757c79 Tiny fixes 2014-03-24 19:51:08 +00:00
paris
46bb446e57 Improved example 2014-03-24 18:11:23 +00:00
paris
3d680e1cb7 Started implementing theming. 2014-03-24 17:56:49 +00:00
paris
7a6fb27a53 Amended some default styling/befavior
- cursorBlink is not default from now on
- added some custom behavior in the demo
2014-03-24 16:53:33 +00:00
paris
0ae4b803cf Moved some styling from xterm.js to xterm.css 2014-03-24 16:35:10 +00:00
paris
c5ae1cea18 Started new example page 2014-03-24 16:29:06 +00:00
paris
5af18f8e48 Tiny changes 2014-03-24 16:17:33 +00:00