Add /clear for clearing the chat box.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@500 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ChatPanel.java,v 1.5 2001/10/18 20:52:58 mdb Exp $
|
// $Id: ChatPanel.java,v 1.6 2001/10/18 23:10:32 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.micasa.client;
|
package com.threerings.micasa.client;
|
||||||
|
|
||||||
@@ -167,6 +167,10 @@ public class ChatPanel
|
|||||||
// request to send this text as a tell message
|
// request to send this text as a tell message
|
||||||
_chatdtr.requestTell(username, message);
|
_chatdtr.requestTell(username, message);
|
||||||
|
|
||||||
|
} else if (text.startsWith("/clear")) {
|
||||||
|
// clear the chat box
|
||||||
|
_text.setText("");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// request to send this text as a chat message
|
// request to send this text as a chat message
|
||||||
_chatdtr.requestSpeak(text);
|
_chatdtr.requestSpeak(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user