BBS: TELESC.NET.BR Assunto: src/conio/bitmap_con.c bitmap_con.h ciolib.c ciolib.h cterm.adoc cterm De: Deuc¨ Data: Tue, 17 Mar 2026 22:37:37 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/c6d0edd8fcf155a351fedf6f Modified Files: src/conio/bitmap_con.c bitmap_con.h ciolib.c ciolib.h cterm.adoc cterm.c Log Message: Add OSC 4 palette query, DECRQSS cursor style, and getpalette API OSC 4 query: when pY is '?', respond with rgb:RR/GG/BB at 8-bit precision matching internal storage. DECRQSS SP q: report current DECSCUSR cursor style (blinking/steady block/underline). getpalette: new ciolib API (uint8_t r/g/b) backed by bitmap_con, wired through all bitmap backends. Returns 8-bit values directly from the palette array. Also refactored OSC 4 set path: strncmp == 0 positive check instead of inverted break, cleaner if/else if/else structure for '?'/rgb/bad. Co-Authored-By: Claude Opus 4.6 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]