So, I recently discovered that if automatic window-renaming is on
(default), it's possible for a program's name to influence how the
window is rendered in the status bar, since '#[...]'-style formatting
instructions are handled in a second sweep (in status_write_cnputs),
_after_ the window's title
Micah Cowan wrote:
> However, I realized I could know whip up a program like:
(Note: the wtitle.c source I posted has the flaw that it will not do
anything when invoked as "wtitle vim" (no further arguments). I meant to
add code to handle when (c == 2), but forgot to.
-mjc
--