X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/07618dcb5a69971dde69b56cfda977d92de48525..6b91cb54fc7dec367c57b4d9e97f2a086b809ea6:/csrc/pf_io.c diff --git a/csrc/pf_io.c b/csrc/pf_io.c index 3f57902..2cd3d3d 100644 --- a/csrc/pf_io.c +++ b/csrc/pf_io.c @@ -87,7 +87,8 @@ cell ioKey( void ) ** Receive line from keyboard. ** Return number of characters enterred. */ -#define BACKSPACE (8) +#define SPACE (0x20) +#define BACKSPACE (0x08) #define DELETE (0x7F) cell ioAccept( char *buffer, cell maxChars ) { @@ -135,6 +136,7 @@ DBUGX(("ioAccept(0x%x, 0x%x)\n", buffer, len )); gotline: sdDisableInput(); + sdTerminalEcho( SPACE ); /* NUL terminate line to simplify printing when debugging. */ if( len < maxChars ) p[len] = '\0';