diff --git a/src/player.jsx b/src/player.jsx
index e0fb33c..6cd9bcf 100644
--- a/src/player.jsx
+++ b/src/player.jsx
@@ -480,32 +480,26 @@ let ProgressBar = class extends React.Component {
};
return (
-
+
);
}
};
-let InputPlayer = class extends React.Component {
+class InputPlayer extends React.Component {
render() {
+ const input = String(this.props.input).replace(/(?:\r\n|\r|\n)/g, " ");
+
return (
-
+
);
}
-};
+}
export class Player extends React.Component {
constructor(props) {
super(props);
-
this.handleTimeout = this.handleTimeout.bind(this);
this.handlePacket = this.handlePacket.bind(this);
this.handleError = this.handleError.bind(this);
@@ -1042,9 +1036,6 @@ export class Player extends React.Component {
// ensure react never reuses this div by keying it with the terminal widget
return (
-
-
-
@@ -1109,6 +1100,9 @@ export class Player extends React.Component {
mark={currentTsPost(this.state.currentTsPost, this.buf.pos)}
fastForwardFunc={this.fastForwardToTS} />
+
+
+
{error}
diff --git a/src/recordings.css b/src/recordings.css
index 80b7be5..a163f44 100644
--- a/src/recordings.css
+++ b/src/recordings.css
@@ -381,22 +381,19 @@ table.listing-ct > thead th:last-child, tr.listing-ct-item td:last-child {
height: 100%;
}
-#input-textarea {
- width: 100%;
- heigth: 100%;
- font-family: monospace;
-}
-
-#input-player-wrap {
- height: 100%;
-}
-
.logs-view-log-time {
display: inline-block;
width: 150px;
vertical-align: middle;
}
-#input-player textarea{
+#input-textarea {
+ width: 100%;
+ heigth: 100%;
+ font-family: monospace;
resize: none;
}
+
+#progress_bar {
+ margin-bottom: 10px;
+}