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 678258ec
authored
Aug 30, 2015
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log received hterm preferences in console
1 parent
b821754e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletions
.gotty
app/resource.go
resources/gotty.js
.gotty
View file @
678258e
...
...
@@ -46,7 +46,7 @@
// reconnec_ttime = false
// [bool] Accept only one client and exit gotty once the client exits
//
O
nce = false
//
o
nce = false
// [object] Client terminal (hterm) preferences
// Examples below are some of commonly used options.
...
...
app/resource.go
View file @
678258e
This diff could not be displayed because it is too large.
resources/gotty.js
View file @
678258e
...
...
@@ -55,6 +55,7 @@
case
'2'
:
preferences
=
JSON
.
parse
(
data
);
Object
.
keys
(
preferences
).
forEach
(
function
(
key
)
{
console
.
log
(
"Setting "
+
key
+
": "
+
preferences
[
key
]);
term
.
getPrefs
().
set
(
key
,
preferences
[
key
]);
});
break
;
...
...
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