[gforth] / gforth / ekey.fs  

gforth: gforth/ekey.fs

Diff for /gforth/ekey.fs between version 1.5 and 1.6

version 1.5, Fri Oct 26 11:53:21 2001 UTC version 1.6, Sun Jun 2 10:31:28 2002 UTC
Line 120 
Line 120 
 27 constant #esc  27 constant #esc
   
 : esc-prefix ( -- u )  : esc-prefix ( -- u )
       key? if
     key ekey-buffered char-append-buffer      key ekey-buffered char-append-buffer
     ekey-buffered 2@ esc-sequences search-wordlist      ekey-buffered 2@ esc-sequences search-wordlist
     if      if
         execute exit          execute exit
     else          endif
         ekey-buffered 2@ unkeys #esc      endif
     then ;      ekey-buffered 2@ unkeys #esc ;
   
 : esc-sequence ( xt addr u -- ; name execution: -- u ) recursive  : esc-sequence ( xt addr u -- ; name execution: -- u ) recursive
     \ define key "name" and all prefixes      \ define key "name" and all prefixes


Generate output suitable for use with a patch program
Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help