+
diff --git a/src/sh2.less b/src/sh2.less
index 4a244e85..9fbe93d5 100644
--- a/src/sh2.less
+++ b/src/sh2.less
@@ -439,7 +439,7 @@ html, body, #main {
.avatar {
cursor: pointer;
- margin-right: 0;
+ margin-right: 10px;
}
.line-header {
@@ -454,6 +454,10 @@ html, body, #main {
}
}
+ .meta.meta-line1 {
+ margin-left: 2px;
+ }
+
.line-star {
display: none;
cursor: pointer;
diff --git a/src/term.ts b/src/term.ts
index 845bf650..fc8240c1 100644
--- a/src/term.ts
+++ b/src/term.ts
@@ -252,9 +252,11 @@ class TermWrap {
this.receiveData(this.dataUpdates[i].pos, this.dataUpdates[i].data, "reload-update-" + i);
}
this.dataUpdates = [];
- this.terminal.write(new Uint8Array(), () => {
- this.updateUsedRows(true, "reload");
- });
+ if (this.terminal != null) {
+ this.terminal.write(new Uint8Array(), () => {
+ this.updateUsedRows(true, "reload");
+ });
+ }
}
reload(delayMs : number) {
diff --git a/src/ws.ts b/src/ws.ts
index ef250f37..9097c8b1 100644
--- a/src/ws.ts
+++ b/src/ws.ts
@@ -85,7 +85,7 @@ class WSControl {
@boundMethod
onclose(event : any) {
- console.log("close", event);
+ // console.log("close", event);
if (event.wasClean) {
this.log("connection closed");
}