summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-06-07 00:50:30 +0000
committerschwarze <schwarze@openbsd.org>2017-06-07 00:50:30 +0000
commit7e291f1051df7bf8b70f441d8d90fb37d65b9e24 (patch)
tree0d7c15b7d7c7309cecceb870d7e2229b20bcccd2 /usr.bin/tmux/window-buffer.c
parentSet the weak variant of hysteresis as default. (diff)
downloadwireguard-openbsd-7e291f1051df7bf8b70f441d8d90fb37d65b9e24.tar.xz
wireguard-openbsd-7e291f1051df7bf8b70f441d8d90fb37d65b9e24.zip
Implement the roff(7) .rn (rename macro or string) request.
Renaming a user-defined macro is very simple: just copy the definition to the new name and delete the old name. Renaming high-level macros is a bit tricky: use a dedicated key-value-table, with non-standard names as keys and standard names as values. When a macro is found that is not user-defined, look it up in the "renamed" table and translate it back to the standard name before passing it on to the high-level parsers.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
0 files changed, 0 insertions, 0 deletions