Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6931dd7f
Commit
6931dd7f
authored
Mar 01, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a JS bug in the websocket terminal
parent
ff00cfe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/terminal/terminal.js
app/assets/javascripts/terminal/terminal.js
+8
-2
No files found.
app/assets/javascripts/terminal/terminal.js
View file @
6931dd7f
...
...
@@ -6,8 +6,14 @@
constructor
(
options
)
{
this
.
options
=
options
||
{};
this
.
options
.
cursorBlink
=
options
.
cursorBlink
||
true
;
this
.
options
.
screenKeys
=
options
.
screenKeys
||
true
;
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
this
.
options
,
'
cursorBlink
'
))
{
this
.
options
.
cursorBlink
=
true
;
}
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
this
.
options
,
'
screenKeys
'
))
{
this
.
options
.
screenKeys
=
true
;
}
this
.
container
=
document
.
querySelector
(
options
.
selector
);
this
.
setSocketUrl
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment