--- gforth/history.fs 2007/07/01 11:32:44 1.59 +++ gforth/history.fs 2007/07/01 20:01:32 1.61 @@ -205,6 +205,7 @@ Variable screenw : cygwin? ( -- flag ) s" TERM" getenv s" cygwin" str= ; : at-xy? ( -- x y ) + key? drop \ make sure prep_terminal() is executed #esc emit ." [6n" 0 0 BEGIN key dup 'R <> WHILE dup '; = IF drop swap ELSE @@ -318,7 +319,7 @@ Variable screenw ['] xclear-tib ctrl K bindkey ['] xfirst-pos ctrl A bindkey ['] xend-pos ctrl E bindkey - ['] xretype bl bindkey + ['] xretype ctrl L bindkey history IF ['] (xenter) #lf bindkey THEN history IF ['] (xenter) #cr bindkey THEN ['] xtab-expand #tab bindkey