Ticket #2978: support Shift+Fn keys for 256-color mode of tmux

...and probably for 256-color mode of screen.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>