Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

ability to modify previous messages - #69

Open
harrypatrick442 wants to merge 1 commit into
chrisdone-archive:masterfrom
harrypatrick442:master
Open

ability to modify previous messages#69
harrypatrick442 wants to merge 1 commit into
chrisdone-archive:masterfrom
harrypatrick442:master

Conversation

@harrypatrick442

@harrypatrick442 harrypatrick442 commented Feb 1, 2018

Copy link
Copy Markdown

added in the ability to access previous messages in the console.
For example
container.history.get(0); returns an instance of MessageHandle for the most recent message in the console.
I added a setText(str) method to MessageHandle so you can change the text in that particular mesg. The message handle will continue to point to the message regardless of now many new messages are added. I needed this so i could make an interactive ..... which adds a few dots per second as my client waits for the server to reply.

Also connected the history into clearScreen so it is cleared accordingly.

added in the ability to access previous messages in the console.
For example
container.history.get(0); returns an instance of MessageHandle for the most recent message in the console.
I added a setTest(str) method to MessageHandle so  you can change the text in that particular mesg. The message handle will continue to point to the message regardless of now many new messages are added. I needed this so i could make an interactive ..... which adds a few dots per second as my client waits for the server to reply.

Also connected the history into clearScreen so it is cleared accordingly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant