matterhorn-chat / matterhorn

A feature-rich Unix terminal client for the Mattermost chat system
BSD 3-Clause "New" or "Revised" License
1.05k stars 75 forks source link

larger channel /join list? #797

Closed setharnold closed 1 year ago

setharnold commented 1 year ago

Hello, can the /join ~channelname list of channels be made much larger?

I'm trying /join ~sales and see that there's thirty matches but only five are visible at once. (And, with the color-scheme I've got, the selected entry is actually very difficult to read -- making it more like four to read at once.)

I would love to see them all simultaneously.

Thanks

jtdaugherty commented 1 year ago

When you say "the list", are you referring to the window opened by /join (i.e. /join with no arguments)?

setharnold commented 1 year ago

Heh, I didn't know this existed. I meant typing:

/join ~sales

and then waiting a bit for this pane:

...─────Channels: 30 matches (Tab/Shift-Tab to select)──────...

Thanks

jtdaugherty commented 1 year ago

Ah, I see. While it's possible to make the autocomplete UI larger, I'd rather not show all of the alternatives at once, and in general there isn't a good way to know when to show just some vs. all. (And, at the end of the day, the amount of space we could use depends on your terminal window, in which case there will always be some cases where you can't see them all.) My recommendation is to use /join instead so you can type in a search term and scroll through the options. That window does show more choices, although its size is limited to show about 11 choices before you need to scroll. I hope that helps!