From: Michael D. Lowis Date: Mon, 25 Nov 2019 15:41:36 +0000 (-0500) Subject: added term to tag line and removed buffer flushing to get rid of lockup issue on... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a8b3ad67a3ca752bc0d985d267dbe3187004ce9e;p=projs%2Ftide.git added term to tag line and removed buffer flushing to get rid of lockup issue on linux --- diff --git a/Rsconscript b/Rsconscript index 52ad9da..ac62e20 100644 --- a/Rsconscript +++ b/Rsconscript @@ -21,7 +21,7 @@ build do # # Enable Sanitizers # env["CFLAGS"] += ["-g", "-fsanitize=undefined,address"] # env["LDFLAGS"] += ["-g", "-fsanitize=undefined,address"] -# + # # Enable Coverage # env["CFLAGS"] += ["-g", "-O0", "--coverage"] # env["LDFLAGS"] += ["-g", "-O0", "--coverage"] diff --git a/config.h b/config.h index 9f7b532..a506308 100644 --- a/config.h +++ b/config.h @@ -31,7 +31,7 @@ static char* SedCmd[] = { "sed", "-Ee", 0, 0 }; static char* FetchCmd[] = { "fetch", 0, 0 }; /* Default tag region text in editor windows */ -static char* TagString = "Del Put Get | Font Tabs Eol | x+ w+ !st | Find "; +static char* TagString = "Del Put Get | Font Tabs Eol | x+ w+ !st !term | Find "; /* List of font patterns available to the editor */ static char* Fonts[2] = { diff --git a/src/lib/xpty.c b/src/lib/xpty.c index ef3c049..f0141a7 100644 --- a/src/lib/xpty.c +++ b/src/lib/xpty.c @@ -123,7 +123,6 @@ static void putb(int byte) /* write the data and read back to discard the echoed chars */ writefd(Pty_Fd, str, slen); - tcflush(Pty_Fd, TCOFLUSH); (void)readfd(Pty_Fd, str, slen+1); free(str);