Commits

crcx committed 2841051 Draft

expose getc:unfiltered

  • Participants
  • Parent commits 9a84565

Comments (0)

Files changed (2)

File image/kernel.rx

    tabAsWhitespace # @, 0; drop, dup, 9 # =if drop, 32 # then ;
 ( [ c-c ] internal helper for remapping whitespace )
 
-i: <getc> 1 # 1 # out, wait 1 # in, ;
-( [ -c ] internal helper for reading keypresses )
+w: getc:unfiltered getc:unfiltered 1 # 1 # out, wait 1 # in, ;
+"( -c ) Read a keypress and return the ASCII value on the stack" :doc
 
-w: getc getc repeat <getc> remapKeys dup, 0 # !if ws ; then drop, again ;
-"( -c ) Read a keypress and return the ASCII value on the stack" :doc
+w: getc getc repeat getc:unfiltered remapKeys dup, 0 # !if ws ; then drop, again ;
+"( -c ) Read a keypress and return the ASCII value on the stack.\nThis differs from **getc:unfiltered** in that the key value is processed\nby **remapKeys** before being returned." :doc
 
 i: putc? dup, 8 # =if drop, break # @, ; then dup, putc ;
 ( [ c-c ] helper to display characters and backspaces properly )

File retroImage

Binary file modified.