Good idea, I tried in various places but the answer is always "invalid handle"...
invoke SetHandleInformation, hWriteOut, hflags, hflags ; we need only hWriteOut
invoke SetHandleInformation, hReadIn, hflags, hflags ; and hReadIn
invoke SetConsoleMode, hWriteOut, ENABLE_ECHO_INPUT
deb 4, "SW2", eax, $Err$()
invoke SetConsoleMode, hReadIn, ENABLE_ECHO_INPUT
deb 4, "SW2", eax, $Err$()