Replace tab character with 4 spaces in messages for now.

This commit is contained in:
flash 2024-02-04 18:31:29 +00:00
parent 07b4906034
commit 4671eeca57

View file

@ -15,6 +15,7 @@ Umi.Messages = (function() {
OnRemove: onRemove,
OnClear: onClear,
Send: function(text) {
text = text.replace(/\t/g, ' ');
Umi.Server.sendMessage(text);
for(const i in onSend)
onSend[i](text);