[PATCH] menu: add support for client defined statusline function