urxvt-option-popup(1)
π urxvt-option-popup(1) β the option menu page, bestie π
okay so real talk: this is the urxvt-option-popup(1) manual from the RXVT-UNICODE set, and it's giving βtiny but iconicβ energy. It's all about option-popup, the option menu. No cap, every fact is still here β just with better vibes.
β¨ NAME β¨
option-popup β option menu
π DESCRIPTION π
Binds a popup menu to Ctrl-Button2 that lets you toggle (some) options at runtime. Yes bestie, runtime toggles β main character behavior.
Other extensions can extend this popup menu by pushing a code reference onto @{ $term->{option_popup_hook} }, which gets called whenever the popup is being displayed.
Its sole argument is the popup menu, which can be modified. It should either return nothing or a string, the initial boolean value and a code reference. The string will be used as button text and the code reference will be called when the toggle changes, with the new boolean value as first argument.
The following will add an entry "myoption" that changes "$self->{myoption}":
push @{ $self->{term}{option_popup_hook} }, sub {
("my option" => $myoption, sub { $self->{myoption} = $_[0] })
};
That's literally it. Iconic, lowkey.
xoxo π
this was version 9.31, dated 2023-12-02, from urxvt-option-popup(1) / RXVT-UNICODE β periodt.
π¦ where this page comes from
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- opensuse-leap 16.0: rxvt-unicode 9.31-bp160.1.13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms