From: Matthew Mondor Date: Thu, 14 Apr 2022 06:32:26 +0000 (+0000) Subject: - Increase cursor-on delay when active X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=aec502b9d37c2099d06756f188506b0033bc4a8d;p=xscreensaver-5.35.git - Increase cursor-on delay when active - Update TODO including about potential unicode glyphs to remap or add --- diff --git a/MATT/TODO.txt b/MATT/TODO.txt index af0f022..58e651b 100644 --- a/MATT/TODO.txt +++ b/MATT/TODO.txt @@ -9,6 +9,12 @@ BUILD TODO ==== +- Various latin characters look strange and could be improved. +- Links appears to enter DEC Special Graphics for some reason and to not exit + it. This does not happen under tmux(1). +- ‘ ’ and + %s/“/"/e|%s/”/"/e|%s/’/'/e|%s/‘/'/e|%s/’/'/e|%s/″/"/e|%s/″/"/e|%s/“/"/e|%s/”/"/e + – – – — ― — - When using French in UTF-8 mode on Ubuntu, some glyphs are missing, like the hyphen ‐ from https://en.wikipedia.org/wiki/General_Punctuation_%28Unicode_block%29 diff --git a/hacks/analogterm.c b/hacks/analogterm.c index d5be2c6..e0e19de 100644 --- a/hacks/analogterm.c +++ b/hacks/analogterm.c @@ -117,7 +117,7 @@ at_insert(analogterm_state_t *st, int many) *mptr = st->mode & TMODE_BGCOLOR; } -bool cursor_waitnext = true; +int cursor_waitnext = 2; bool cursor_laststate = false; void @@ -127,11 +127,11 @@ at_drawcursor(analogterm_sim_t *sim) int x, y; signed char *pp; - if (st->blink && !cursor_waitnext) + if (st->blink && cursor_waitnext == 0) return; - if (cursor_waitnext) { + if (cursor_waitnext > 0) { if (cursor_laststate != st->blink) - cursor_waitnext = false; + cursor_waitnext--; } cursor_laststate = st->blink; @@ -147,7 +147,7 @@ void at_resetcursor(void) { - cursor_waitnext = true; + cursor_waitnext = 2; } #ifdef PULSECURSOR @@ -447,7 +447,7 @@ at_free_font(font_t *font) * fixed-time resolution. * XXX I somehow never could quiet incompatible types warnings without using * void *. Not working: uint8_t (*)[7], uint8_t **, uint8_t *[], - * uint8_t *[7], ... + * uint8_t *[7], uint8_t *, ... */ static void * at_glyph(analogterm_sim_t *sim, uint32_t c, bool decgfx)