1 #import "JubCLIChatUI.h"
2 #import "JubCLIColor.h"
4 @implementation JubCLIChatUI
5 - initWithTitle: (OFString*)title
6 closeBlock: (jub_close_block_t)closeBlock
7 sendBlock: (jub_send_block_t)sendBlock
12 _sendBlock = [sendBlock copy];
27 - (void)addMessage: (OFString*)text
28 sender: (OFString*)sender
30 [of_stdout writeFormat: BOLD("%@:") @" %@\n", sender, text];
33 - (void)send: (OFString*)text