squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.68k stars 66 forks source link

Feature request: Display nicknames above message #611

Closed robert-groensfeld closed 1 month ago

robert-groensfeld commented 1 month ago

So far it is possible to align nicknames left and right in the configuration:

[buffer.nickname]
alignment = "right"

Additionally, I would like to have an option to display nicknames and times above the original message and save some vertical space:

[buffer.nickname]
position = "top"
position = "left"

image

I'd be willing to try to implement this if you can give me some pointers.

casperstorm commented 1 month ago

Was it something like this, you had in mind?

Screenshot 2024-10-13 at 21 25 41
robert-groensfeld commented 1 month ago

Yes exactly.

bbb651 commented 1 month ago

An option to have the message to the right of the username and timestamp but wrap into the empty space sounds interesting (although it would make the layout much more complicated, either having to make the message able display the username and timestamp inside it, or reverse empty space and display it with a stack which feels hacky and might have it's own issues, I personally don't have a need for it)