[dev] [surf][bug] bug in pipe communication to extension

2020-10-17 Thread Jona Ackerschott
Dear suckless community, There seems to be a bug in surf, in the 'readpipe' function in surf.c. The pipes for communication with the web extension are being closed there in the switch statement, which is problematic, because this function is called every time the web extension is initialized. Thi

Re: [dev] [surf][bug] bug in pipe communication to extension

2020-10-17 Thread Jona Ackerschott
o you if i do. Regards, Jona >From edf2be7f3390d9714c51771aab25c89d14cea86b Mon Sep 17 00:00:00 2001 From: Jona Ackerschott Date: Sat, 17 Oct 2020 11:46:11 +0200 Subject: [PATCH] Fix communication through closed pipe --- libsurf-webext.c | 23 ++- surf.

Re: [dev] [surf][bug] bug in pipe communication to extension

2020-10-17 Thread Jona Ackerschott
of an extra communication step, just to close those on surf's side. Kind Regards, Jona >From 4e1cdd8f58ca69091dc913b4d882c59756c7004f Mon Sep 17 00:00:00 2001 From: Jona Ackerschott Date: Sat, 17 Oct 2020 18:59:51 +0200 Subject: [PATCH] Fix multiple extension inits. --- libsu

Re: [dev] newbie question

2020-10-28 Thread Jona Ackerschott
Hello Adam, > hi everyone, i'm new in c programming. i tried to read sources but stuck with > enum. > as i know, enum is mainly used to assign names to integral constants. but i > don't understand, for example, this code > -- > enum term_mode { >     M