This commit is contained in:
Florian Mounier
2016-10-11 11:22:09 +02:00
parent 6c827206f7
commit 3bb6da1eae
7 changed files with 15 additions and 7 deletions

View File

@@ -25,6 +25,11 @@ body
white-space: nowrap
overflow-x: hidden
overflow-y: scroll
a
text-decoration: underline rgba($fg, .2)
transition: text-decoration-color 500ms
&:hover
text-decoration: underline
.line.active
background-color: $active-bg

File diff suppressed because one or more lines are too long

View File

@@ -2808,6 +2808,11 @@ body {
overflow-x: hidden;
overflow-y: scroll;
/* Pop ups */ }
body a {
text-decoration: underline rgba(244, 234, 213, 0.2);
transition: text-decoration-color 500ms; }
body a:hover {
text-decoration: underline; }
body .line.active {
background-color: transparent; }
body .line.extended {

View File

@@ -102,7 +102,7 @@
write_request = function(e) {
return setTimeout(write, 1, e.data);
};
ctl = function() {
ctl = function(e) {
var cmd;
cmd = JSON.parse(e.data);
if (cmd.cmd === 'size') {

File diff suppressed because one or more lines are too long

View File

@@ -105,7 +105,7 @@ document.addEventListener 'DOMContentLoaded', ->
write_request = (e) ->
setTimeout write, 1, e.data
ctl = ->
ctl = (e) ->
cmd = JSON.parse(e.data)
if cmd.cmd is 'size'
term.resize cmd.cols, cmd.rows, true

View File

@@ -421,8 +421,6 @@ class Terminal
@document.createTextNode(cursor.textContent), cursor)
for active in @body.querySelectorAll(".line.active")
active.classList.remove('active')
# for active in @body.querySelectorAll(".line.extended")
# active.classList.remove('extended')
newOut = ''
modified = []