pry/pry — Issue #431: Pry should wisen up to different types of  terminals.
Author: envygeeks
Created: 2012-01-17 13:54:47+00:00
State: open

When using Screen or TMUX multiplexers w/ Byobu pry allows (well actually it would have to sort of force it somehow) the terminal to scroll up through the buffer when by default it should scroll through the terminal (or in this case pry) history since Byobu reserves buffer scrolling by pressing F7 first (which would and will take it out of control of pry at that point.) Pry should certainly use tput to detect the multiplexer by regex searching TERM for screen/tmux and other multiplexers and also checking for _byobu_sourced. You can also look for STY but that is screen only.