mirror of https://github.com/zlatinb/muwire
preserve chat box contents across openings of the chat window
parent
9474512cbd
commit
919aeaaed5
|
@ -35,7 +35,8 @@ class ChatConsoleView extends BasicWindow {
|
||||||
this.core = core
|
this.core = core
|
||||||
this.model = model
|
this.model = model
|
||||||
this.textGUI = textGUI
|
this.textGUI = textGUI
|
||||||
this.textBox = new TextBox(terminalSize,"", TextBox.Style.MULTI_LINE)
|
TextBox textBox = model.textBox == null ? new TextBox(terminalSize,"", TextBox.Style.MULTI_LINE) : model.textBox
|
||||||
|
this.textBox = textBox
|
||||||
model.textBox = textBox
|
model.textBox = textBox
|
||||||
model.start()
|
model.start()
|
||||||
this.sayField = new TextBox("", TextBox.Style.SINGLE_LINE)
|
this.sayField = new TextBox("", TextBox.Style.SINGLE_LINE)
|
||||||
|
|
Loading…
Reference in New Issue