Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Glyph Request: Half block with inner rounded corners #1484

Closed
3 tasks done
rockorager opened this issue Jan 17, 2024 · 2 comments
Closed
3 tasks done

New Glyph Request: Half block with inner rounded corners #1484

rockorager opened this issue Jan 17, 2024 · 2 comments
Labels
❲+❳ add glyph to core set keep_unlocked Allow discuissions for extended time even after closing

Comments

@rockorager
Copy link

Requirements

  • I have searched the issues for my request and found nothing related and/or helpful
  • I have searched the FAQ for help
  • I have searched the Wiki for help

Is your feature request related to a problem? Please describe.
I want to make nice looking "buttons" in a TUI. I can make nice "pills" using U+E0B6 and U+E0B4 by sandwiching some text with those. It would be nice to have something that resembled a more "modern" look than a "pill".

Describe the solution you'd like
U+2590 RIGHT HALF BLOCK with rounded inner corners (and the mirror image for the left half block). With glyphs like these, once could sandwich text and get a nicer looking "button", and also not have to add a space between successive buttons to account for whitespace. Think firefox tabs.

Describe alternatives you've considered
As mentioned above, the "pill".

Additional context
Here's a concept (done with janky css):

image

@Finii
Copy link
Collaborator

Finii commented Mar 24, 2024

Closing because transferred to #1095

@Finii Finii closed this as completed Mar 24, 2024
@Finii Finii added the keep_unlocked Allow discuissions for extended time even after closing label Apr 18, 2024
@qwerasd205
Copy link

qwerasd205 commented Oct 29, 2024

If this is considered, a third glyph that gives the appearance of two rounded blocks butting up against one another would also be good to have. Basically meaning you'd have these 3 glyphs:

Right half rounded rectangular cap
----
  ╭┐
  ││
  ╰┘
----
Left half rounded rectangular cap
----
┌╮  
││  
└╯  
----
Left and right half back-to-back rounded rectangular caps
----
┌╮╭┐
││││
└╯╰┘
----

Allowing for something like this:

----__---__----__---__----
  ╭┐       ┌╮╭┐       ┌╮  
  ││ F o o ││││ B a r ││  
  ╰┘       └╯╰┘       └╯  
----__---__----__---__----

EDIT, for those whose browsers don't like box drawing chars:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❲+❳ add glyph to core set keep_unlocked Allow discuissions for extended time even after closing
Projects
None yet
Development

No branches or pull requests

3 participants