[#116] Fix Ruby requiring trailing newline
This commit is contained in:
parent
84c4c3a13e
commit
1710193e0c
|
@ -309,7 +309,7 @@ export class Session {
|
||||||
code = createEmpty !== undefined ? createEmpty : template + "\n";
|
code = createEmpty !== undefined ? createEmpty : template + "\n";
|
||||||
}
|
}
|
||||||
if (code && suffix) {
|
if (code && suffix) {
|
||||||
code += suffix + "\n";
|
code += "\n" + suffix + "\n";
|
||||||
}
|
}
|
||||||
await this.writeCode(code);
|
await this.writeCode(code);
|
||||||
const termArgs = this.privilegedPty(cmdline);
|
const termArgs = this.privilegedPty(cmdline);
|
||||||
|
|
Loading…
Reference in New Issue