Changeset 4547 for trunk/configs

Show
Ignore:
Timestamp:
10/30/08 08:20:01 (2 months ago)
Author:
pmoura
Message:

Updated the Logtalk built-in debugger to accept the return and enter keys as alternatives to the "c" key ("creep") when tracing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/yap.config

    r4524 r4547  
    1212%  configuration file for YAP Prolog 5.1.3 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    474474 
    475475'$lgt_read_single_char'(Char) :- 
    476     get_char(Char), 
    477     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     476    get_code(Code), char_code(Char, Code), 
     477    (   Code =:= 10 -> 
     478        true 
     479    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    478480        get_code(_)         % support for unbuffered character input 
    479481    ;   true