Skip to content

Commit

Permalink
break log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SenkJu committed Dec 16, 2023
1 parent 8614ebb commit 154204d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/lib/main/MainScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,12 @@
let progressBarProgress = 0;
let progressBarLabel = "";
let javaWrapperExecutableName = "";
listen("process-output", event => {
log = [...log, event.payload];
});
listen("progress-update", event => {
let progressUpdate = event.payload;
console.log(event);
switch (progressUpdate.type) {
case "max": {
Expand Down
3 changes: 2 additions & 1 deletion src/lib/main/log/LogMessage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
color: white;
user-select: text;
word-break: normal;
overflow-wrap: anywhere;
white-space: pre-wrap;
word-wrap: break-word;
}
</style>

0 comments on commit 154204d

Please sign in to comment.