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

Ability to change popup color within the popup #3655

Closed
mgpinf opened this issue Aug 5, 2023 · 2 comments
Closed

Ability to change popup color within the popup #3655

mgpinf opened this issue Aug 5, 2023 · 2 comments

Comments

@mgpinf
Copy link

mgpinf commented Aug 5, 2023

Issue description

  • It would be nice if there was an ability to change tmux popup color from within the popup (especially while running a script that calls it)
  • Went through the manual, where it is mentioned that Panes are not updated while a popup is present..
  • I think it would be a good idea to edit at least popup options from within the popup window (if not the pane options)
  • Asking this because while calling fzf within tmux popup window, if the tmux popup has border beforehand, and the fzf window also has borders, it would look cluttered. So, if there is an option to change popup options in a popup window, then the popup border is initially deactivated, and after calling the fzf function, the popup border would be activated, (once fzf function call ends), thereby obtaining a more homogeneous appearance
  • Current tmux popup window in which a script calling fzf runs: (as seen, there are 2 borders, one for fzf, other one for tmux)
image
  • It's a feature request

Steps to reproduce:

  • tmux display-popup 'script'
  • script contains command to change tmux popup border color
  • Initially the popup window has a border of a certain color
  • Unable to change it once the popup window starts

Required information

  • tmux version (tmux -V).
    tmux 3.3a
  • Platform (uname -sp).
    Darwin arm
  • $TERM inside and outside of tmux (echo $TERM).
    • Inside xterm-256color
    • Outside screen-256color
  • Logs from tmux (tmux kill-server; tmux -vv new).
@nicm
Copy link
Member

nicm commented Aug 15, 2023

I have added this to the todo list but I don't think it would be trivial and it doesn't seem to have wide use cases, so I wouldn't hold your breath...

Can't you ask fzf not to show a border instead?

@nicm nicm closed this as completed Aug 15, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants