gwsw / less

Less - text pager
http://greenwoodsoftware.com/less
Other
550 stars 87 forks source link

Unusual state after suspend #563

Open robert-ross opened 2 weeks ago

robert-ross commented 2 weeks ago

With less 643 and earlier, pressing Control-Z after running echo test | less +Gg in bash immediately switches from the alternate to the normal screen. With less 661, the user remains on the alternate screen after pressing Control-Z and must then press another key to see the normal screen. After returning to less via fg, Control-Z works as expected. Also, in all versions, pressing Control-Z after running echo test | less works as expected.

gwsw commented 2 weeks ago

Fixed in 2bfad47fb4a5f6552b873cf37c76a7ec3867dc4f.