Adding fixime, newterm and opencopied patches

This commit is contained in:
bakkeby 2019-09-16 12:40:07 +02:00
parent 35e6403c69
commit 7615c2f0aa
15 changed files with 233 additions and 10 deletions

7
st.c
View file

@ -232,7 +232,7 @@ static uchar utfmask[UTF_SIZ + 1] = {0xC0, 0x80, 0xE0, 0xF0, 0xF8};
static Rune utfmin[UTF_SIZ + 1] = { 0, 0, 0x80, 0x800, 0x10000};
static Rune utfmax[UTF_SIZ + 1] = {0x10FFFF, 0x7F, 0x7FF, 0xFFFF, 0x10FFFF};
#include "patch/include.h"
#include "patch/st_include.h"
ssize_t
xwrite(int fd, const char *s, size_t len)
@ -2596,6 +2596,9 @@ draw(void)
term.ocx, term.ocy, term.line[term.ocy][term.ocx]);
term.ocx = cx, term.ocy = term.c.y;
xfinishdraw();
#if FIXIME_PATCH
xximspot(term.ocx, term.ocy);
#endif // FIXIME_PATCH
}
void
@ -2605,4 +2608,4 @@ redraw(void)
draw();
}
#include "patch/include.c"
#include "patch/st_include.c"