How to customize the border #8
Labels
No labels
Kind: Breaking
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Maintenance
Kind: Question
Kind: Security
Kind: Testing
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Reviewed: Confirmed
Reviewed: Duplicate
Reviewed: Invalid
Status: Blocked
Status: Completed
Status: Help wanted
Status: In progress
Status: Needs feedback
Status: Stale
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: akib/emacs-popon#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I've been looking into those packages recently, and I have a small itch I'm trying to scratch but struggle to. Is it possible to customize the border of the popup ? I'd like to be able to make the separation between the floating, virtual text and the content of the buffer.
I suppose it's going to be impossible in TUI (where I think I'll tweak the background instead), but I'd like to have the ability to do so at least in GUI.
Or is it the downstream packages like
emacs-poponandcorfu-terminalthat are supposed to deal with it ?Regards,
Gerry
Well, Popon is very minimal, and it only shows text, without any modification. It seems that you want to show a thin single pixel border outside the popon. But it's not possible. Popon doesn't use child frame, it uses overlays. However, you can do the trick with text properties on GUI, but it will (AFAIK) increase the line spacing. Instead, to show a border, you can make the border a part of the text using ASCII art. For example, if you would like to show
"Hello, World", you have to pass"+-------------+\n|Hello, World!|\n+-------------+"topopon-create. Then it would create an illusion of border, while working on both GUI and TUI.