Don't force a newline for story string if instruct wrap is disabled
This commit is contained in:
parent
da01384cb6
commit
99a7925be4
|
@ -1942,7 +1942,9 @@ export function renderStoryString(params) {
|
||||||
|
|
||||||
// add a newline to the end of the story string if it doesn't have one
|
// add a newline to the end of the story string if it doesn't have one
|
||||||
if (output.length > 0 && !output.endsWith('\n')) {
|
if (output.length > 0 && !output.endsWith('\n')) {
|
||||||
output += '\n';
|
if (!power_user.instruct.enabled || power_user.instruct.wrap) {
|
||||||
|
output += '\n';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
|
Loading…
Reference in New Issue