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

ability to modify previous messages #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harrypatrick442
Copy link

@harrypatrick442 harrypatrick442 commented Feb 1, 2018

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