Add events to TermScreen; use correct cursor

This commit is contained in:
2017-09-09 14:38:03 +02:00
committed by MightyPork
parent bee99b4c55
commit d57ed19c42
2 changed files with 87 additions and 43 deletions
+2 -21
View File
@@ -25,27 +25,8 @@ body.term {
font-size: 20px; // some font heights cause visual glitches with some font renderers. This should be configurable.
font-family: $screen-stack;
span {
white-space: pre;
}
> span {
position: relative;
cursor: pointer;
&::before {
content: " ";
}
> span {
position:absolute;
left: 0;
z-index: 1;
}
}
&.noselect {
@include noselect();
canvas.selectable {
cursor: text;
}
}