Re: [hackers] [[st][PATCH]] Move term_mode to st.h

2018-03-21 Thread Pickfire
"Devin J. Pohly" wrote: > On Tue, Mar 20, 2018 at 07:14:48PM +0800, Pickfire wrote: > > "Devin J. Pohly" wrote: > > > > > > This won't work - the Term instance is now internal to st.c, and IS_SET > > > in x.c refers to win.mode (on the TermWindow instance) which doesn't > > > contain MODE_ALTSCR

Re: [hackers] [[st][PATCH]] Move term_mode to st.h

2018-03-20 Thread Devin J. Pohly
On Tue, Mar 20, 2018 at 07:14:48PM +0800, Pickfire wrote: > "Devin J. Pohly" wrote: > > > > This won't work - the Term instance is now internal to st.c, and IS_SET > > in x.c refers to win.mode (on the TermWindow instance) which doesn't > > contain MODE_ALTSCREEN. > > > > How about checking it in

Re: [hackers] [[st][PATCH]] Move term_mode to st.h

2018-03-20 Thread Pickfire
"Devin J. Pohly" wrote: > On Fri, Mar 16, 2018 at 11:23:08PM +0800, Ivan Tham wrote: > > This allows MODE_ALTSCREEN to be applied to scrollback patch in x.c > > --- > > st.c | 11 --- > > st.h | 11 +++ > > 2 files changed, 11 insertions(+), 11 deletions(-) > > > > diff --git a/

Re: [hackers] [[st][PATCH]] Move term_mode to st.h

2018-03-19 Thread Devin J. Pohly
On Fri, Mar 16, 2018 at 11:23:08PM +0800, Ivan Tham wrote: > This allows MODE_ALTSCREEN to be applied to scrollback patch in x.c > --- > st.c | 11 --- > st.h | 11 +++ > 2 files changed, 11 insertions(+), 11 deletions(-) > > diff --git a/st.c b/st.c > index 65a0cb6..1eafc0e 10064

[hackers] [[st][PATCH]] Move term_mode to st.h

2018-03-16 Thread Ivan Tham
This allows MODE_ALTSCREEN to be applied to scrollback patch in x.c --- st.c | 11 --- st.h | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/st.c b/st.c index 65a0cb6..1eafc0e 100644 --- a/st.c +++ b/st.c @@ -47,17 +47,6 @@ /* constants */ #define ISO147