https://gitlab.synchro.net/main/sbbs/-/commit/dabd649e1563f0919a7cedb8
Modified Files:
src/sbbs3/download.cpp inkey.cpp main.cpp sbbs.h sbbsdefs.h
Log Message:
Perform input translation (e.g. DEL<->BKSPC, PETSCII chars) in input_thread()My first idea was to have a per-external-program setting to enable inputtranslation, but Deuce suggested it would be better done in input_thread() andafter some thought, I agree. Translations are not done in data/file transfermode, so use the CON_RAW_IN console flag to indicate this condition. So evenJS console.getbyte() will return a translated char unless the console is setraw input mode (this could be surprising behavior for some!).I considered saving/restoring the console mode when performing a file transferbut will leave that to a time when obviously needed.This fixes issue #497 in automatic way (no option needed).
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)