This doesn't work for me. It says `tmux non-interactive choose-window`, which is fine according to the manual page. Looks like it's explicitly prohibited. The best replacement I could find is `tmux command-prompt choose-window`, but it requires user to press enter key. Anyway, it's probably better then nothithing. Maybe you know a better solution?