Re: [dev] [st] alternate screen switching

From: Bert Münnich <ber.t_AT_gmx.com>
Date: Wed, 8 Jun 2011 22:03:51 +0200

On 08.06.11, Aurélien Aptel wrote:
> On Wed, Jun 1, 2011 at 9:59 AM, Bert Münnich <ber.t_AT_gmx.com> wrote:
> > Hi,
> >
> > attached is a patch, that adds support for the deprecated '\E[?47h' and
> > '\E[?47l' control sequences, which are used when $TERM == "xterm-color".
> >
> > I've also added {rm,sm}cup entries to st.info, so that switching between
> > normal and alternate screen now works when $TERM == "st[-256color]".
>
> Thanks.
> What's the difference between 1047 and 47? st now use the same code
> for both, but it can be changed.

47 is deprecated and doesn't clear the screen when switching. It's still
often used in terminfos instead of the newer 104X, which made me believe
it would be a good idea to include it.
Received on Wed Jun 08 2011 - 22:03:51 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 08 2011 - 22:12:03 CEST