Re: [dev] [st] [PATCH] Got rid of Glyph state, because it was redundant anyway.

2013-04-15 Thread Alexander Sedov
Before anyone tries to apply this: this patch is incorrect, use the one that has been sent later, or else you might and will experience horrible segfaults. I'm really sorry.

Re: [dev] [st] [PATCH] Got rid of Glyph state, because it was redundant anyway.

2013-04-15 Thread Roberto E. Vargas Caballero
> + while(--last >= gp && !(selected(last - gp, y) && \ > + strcmp(last->c, " ") != 0)) > /* nothing */; I think you could write here only: while(--last >= gp && strcmp(last->c, " "))

[dev] [st] [PATCH] Got rid of Glyph state, because it was redundant anyway.

2013-04-14 Thread Alexander Sedov
--- st.c | 73 +- 1 file changed, 28 insertions(+), 45 deletions(-) diff --git a/st.c b/st.c index fc07a46..73099a6 100644 --- a/st.c +++ b/st.c @@ -98,11 +98,6 @@ enum cursor_state { CURSOR_ORIGIN = 2 }; -enum glyph_s