Skip to content

Commit ea1c172

Browse files
author
thyttan
committed
messagegui: no empty line after title
1 parent 2be6ae4 commit ea1c172

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/messagegui/app.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,8 @@ function showMessagesScroller(msg, persist, alreadyProcessed) {
300300
(messagesWrapped[1]?messagesWrapped[1].length:0));
301301
}
302302
var titleCnt = lines.length;
303-
if (titleCnt) {lines.push("");} // add blank line after title
304-
//const PAD_LEN = (MESSAGES.length-i)/2;
305-
//const END_LINE = "-".repeat(PAD_LEN)+"<"+"=".repeat(i)+">"+"-".repeat(PAD_LEN);
306-
const END_LINE = "-".repeat(12);
307303
lines = lines.concat(g.wrapString(msgLocal.body, g.getWidth()-10),
308-
[END_LINE]);
304+
["-".repeat(12)]);
309305
messagesWrapped.push(lines);
310306
}
311307

0 commit comments

Comments
 (0)