Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a6ae1210
authored
Aug 24, 2017
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move decoder into setup
1 parent
973cf362
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
1 deletions
js/dist/gotty-bundle.js
js/src/webtty.ts
server/asset.go
js/dist/gotty-bundle.js
View file @
a6ae121
This diff could not be displayed because it is too large.
js/src/webtty.ts
View file @
a6ae121
...
...
@@ -64,9 +64,9 @@ export class WebTTY {
let
pingTimer
:
number
;
let
reconnectTimeout
:
number
;
const
setup
=
()
=>
{
const
decoder
=
new
lib
.
UTF8Decoder
()
const
setup
=
()
=>
{
connection
.
onOpen
(()
=>
{
const
termInfo
=
this
.
term
.
info
();
...
...
server/asset.go
View file @
a6ae121
This diff could not be displayed because it is too large.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment