Replace tab character with 4 spaces in messages for now.
This commit is contained in:
parent
07b4906034
commit
4671eeca57
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ Umi.Messages = (function() {
|
||||||
OnRemove: onRemove,
|
OnRemove: onRemove,
|
||||||
OnClear: onClear,
|
OnClear: onClear,
|
||||||
Send: function(text) {
|
Send: function(text) {
|
||||||
|
text = text.replace(/\t/g, ' ');
|
||||||
Umi.Server.sendMessage(text);
|
Umi.Server.sendMessage(text);
|
||||||
for(const i in onSend)
|
for(const i in onSend)
|
||||||
onSend[i](text);
|
onSend[i](text);
|
||||||
|
|
Loading…
Reference in a new issue