Re: [dev] [PATCH] Make w3mimgdisplay work with st

2014-01-11 Thread Amadeusz Sławiński
On Sat, 11 Jan 2014 12:35:19 +0100 "Roberto E. Vargas Caballero" wrote: > > Before this patch draw() calls drawregion which calls xdraws and > > then updates whole window in one call thus overdrawing anything > > drawn by w3mimgdisplay. After moving XCopyArea to xdraws it only > > updates the reg

Re: [dev] [PATCH] Make w3mimgdisplay work with st

2014-01-11 Thread Amadeusz Sławiński
> I like the idea of having this feature in st, and your patch is simple > because you only move a function from one place to another, but could > you explain a bit why moving the function from draw to xdraws makes > w3mimgdisplay work? Before this patch draw() calls drawregion which calls xdraws

[dev] [PATCH] Make w3mimgdisplay work with st

2014-01-10 Thread Amadeusz Sławiński
Signed-off-by: Amadeusz Sławiński --- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/st.c b/st.c index 4d543d1..714ce38 100644 --- a/st.c +++ b/st.c @@ -3301,6 +3301,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen

[dev]

2014-01-10 Thread Amadeusz Sławiński
Hey, I wrote simple patch which allows use of w3mimgdisplay with st. Not sure if it should be applied, probably better idea is to add this to patches on site. Tested with w3m and ranger. w3m has slight problem, when cursor is on same line as image, whole line seems to be redrawn and image is los

[dev] [PATCH] Fix truecolor escapes, when both bg and fg are set

2014-01-03 Thread Amadeusz Sławiński
for example echo -e "\e[48;2;255;0;0m\e[38;2;0;0;255m test " should render on red bg with blue fg also now elinks works correctly when using 'truecolor' option in preferences Signed-off-by: Amadeusz Sławiński --- st.c | 2 ++ 1 file changed, 2 insertions(+) diff --git