Skip to content

Render incoming messages on newline instead of inline #11

@roshnet

Description

@roshnet

Description

During chat, incoming messages appear right where the user's cursor points at the moment.
This, however, does not change the message content sent by the user, but sure is annoying to some extent.

Desired behaviour

Ideally, the user gets a fixed-width space (preferably at the bottom) with overwritable text, and all incoming text scrolls up the available terminal space.

Possible background logic

The user sends the message to the broker. If the user can be their own subscriber, the user's messages can then be received by the user themselves, as a normal incoming message.
This would keep all chats scrollable, to simulate what happens in most messaging apps.
PS: The user-input area can be flushed after every message sent, to allow for new text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestIssues to be solved as part of Hacktoberfesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions