mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-05 05:17:51 +00:00
Bump version to 2.6.0
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
This commit is contained in:
parent
daad8d9c04
commit
2221f70ff0
4
AUTHORS
4
AUTHORS
@ -24,14 +24,17 @@ Dan Kaplun <dbkaplun@twitch.tv>
|
|||||||
Darin Morrison <freebroccolo@users.noreply.github.com>
|
Darin Morrison <freebroccolo@users.noreply.github.com>
|
||||||
Edgar Andrés Margffoy Tuay <andfoy@gmail.com>
|
Edgar Andrés Margffoy Tuay <andfoy@gmail.com>
|
||||||
Elliot Saba <staticfloat@gmail.com>
|
Elliot Saba <staticfloat@gmail.com>
|
||||||
|
Gary Ritchie <gary@rstudio.com>
|
||||||
hiro-su <h.sugipon@gmail.com>
|
hiro-su <h.sugipon@gmail.com>
|
||||||
Ian Lewis <ianlewis@google.com>
|
Ian Lewis <ianlewis@google.com>
|
||||||
imoses <ido@twiggle.com>
|
imoses <ido@twiggle.com>
|
||||||
InDieTasten <indietasten@gmail.com>
|
InDieTasten <indietasten@gmail.com>
|
||||||
Jean Bruenn <himself@jeanbruenn.info>
|
Jean Bruenn <himself@jeanbruenn.info>
|
||||||
Jörg Breitbart <jerch@rockborn.de>
|
Jörg Breitbart <jerch@rockborn.de>
|
||||||
|
Justin Mecham <justin@mecham.me>
|
||||||
Lucian Buzzo <lucian.buzzo@gmail.com>
|
Lucian Buzzo <lucian.buzzo@gmail.com>
|
||||||
Maël Nison <nison.mael@gmail.com>
|
Maël Nison <nison.mael@gmail.com>
|
||||||
|
Martin Chloride <i@martincl2.me>
|
||||||
Martin Wang <jiahaow@ca.ibm.com>
|
Martin Wang <jiahaow@ca.ibm.com>
|
||||||
Michael Irwin <mikesir87@gmail.com>
|
Michael Irwin <mikesir87@gmail.com>
|
||||||
Mikko Karvonen <mikko.karvonen@arm.com>
|
Mikko Karvonen <mikko.karvonen@arm.com>
|
||||||
@ -40,6 +43,7 @@ Paris Kasidiaris <pariskasidiaris@gmail.com>
|
|||||||
Paris Kasidiaris <paris@sourcelair.com>
|
Paris Kasidiaris <paris@sourcelair.com>
|
||||||
runarberg <runar@greenqloud.com>
|
runarberg <runar@greenqloud.com>
|
||||||
Saswat Das <saswatds@users.noreply.github.com>
|
Saswat Das <saswatds@users.noreply.github.com>
|
||||||
|
Saul Costa <saul@codevolve.com>
|
||||||
Shuanglei Tao <tsl0922@gmail.com>
|
Shuanglei Tao <tsl0922@gmail.com>
|
||||||
Steven Silvester <steven.silvester@ieee.org>
|
Steven Silvester <steven.silvester@ieee.org>
|
||||||
Thanasis Daglis <thanasis@sourcelair.com>
|
Thanasis Daglis <thanasis@sourcelair.com>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xterm.js",
|
"name": "xterm.js",
|
||||||
"version": "2.5.0",
|
"version": "2.6.0",
|
||||||
"ignore": ["demo", "test", ".gitignore"],
|
"ignore": ["demo", "test", ".gitignore"],
|
||||||
"main": [
|
"main": [
|
||||||
"dist/xterm.js",
|
"dist/xterm.js",
|
||||||
|
13
dist/xterm.js
vendored
13
dist/xterm.js
vendored
@ -3008,7 +3008,7 @@ Terminal.prototype.insertRow = function (row) {
|
|||||||
this.children.push(row);
|
this.children.push(row);
|
||||||
return row;
|
return row;
|
||||||
};
|
};
|
||||||
Terminal.prototype.open = function (parent) {
|
Terminal.prototype.open = function (parent, focus) {
|
||||||
var self = this, i = 0, div;
|
var self = this, i = 0, div;
|
||||||
this.parent = parent || this.parent;
|
this.parent = parent || this.parent;
|
||||||
if (!this.parent) {
|
if (!this.parent) {
|
||||||
@ -3070,7 +3070,16 @@ Terminal.prototype.open = function (parent) {
|
|||||||
this.renderer = new Renderer_1.Renderer(this);
|
this.renderer = new Renderer_1.Renderer(this);
|
||||||
this.refresh(0, this.rows - 1);
|
this.refresh(0, this.rows - 1);
|
||||||
this.initGlobal();
|
this.initGlobal();
|
||||||
|
if (typeof focus == 'undefined') {
|
||||||
|
var message = 'You did not pass the `focus` argument in `Terminal.prototype.open()`.\n';
|
||||||
|
message += 'The `focus` argument now defaults to `true` but starting with xterm.js 3.0 ';
|
||||||
|
message += 'it will default to `false`.';
|
||||||
|
console.warn(message);
|
||||||
|
focus = true;
|
||||||
|
}
|
||||||
|
if (focus) {
|
||||||
this.focus();
|
this.focus();
|
||||||
|
}
|
||||||
on(this.element, 'click', function () {
|
on(this.element, 'click', function () {
|
||||||
var selection = document.getSelection(), collapsed = selection.isCollapsed, isRange = typeof collapsed == 'boolean' ? !collapsed : selection.type == 'Range';
|
var selection = document.getSelection(), collapsed = selection.isCollapsed, isRange = typeof collapsed == 'boolean' ? !collapsed : selection.type == 'Range';
|
||||||
if (!isRange) {
|
if (!isRange) {
|
||||||
@ -4091,8 +4100,10 @@ Terminal.prototype.reset = function () {
|
|||||||
this.options.rows = this.rows;
|
this.options.rows = this.rows;
|
||||||
this.options.cols = this.cols;
|
this.options.cols = this.cols;
|
||||||
var customKeydownHandler = this.customKeydownHandler;
|
var customKeydownHandler = this.customKeydownHandler;
|
||||||
|
var cursorBlinkInterval = this.cursorBlinkInterval;
|
||||||
Terminal.call(this, this.options);
|
Terminal.call(this, this.options);
|
||||||
this.customKeydownHandler = customKeydownHandler;
|
this.customKeydownHandler = customKeydownHandler;
|
||||||
|
this.cursorBlinkInterval = cursorBlinkInterval;
|
||||||
this.refresh(0, this.rows - 1);
|
this.refresh(0, this.rows - 1);
|
||||||
this.viewport.syncScrollArea();
|
this.viewport.syncScrollArea();
|
||||||
};
|
};
|
||||||
|
2
dist/xterm.js.map
vendored
2
dist/xterm.js.map
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "xterm",
|
"name": "xterm",
|
||||||
"description": "Full xterm terminal, in your browser",
|
"description": "Full xterm terminal, in your browser",
|
||||||
"version": "2.5.0",
|
"version": "2.6.0",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"demo",
|
"demo",
|
||||||
"test",
|
"test",
|
||||||
|
Loading…
Reference in New Issue
Block a user