Changeset 4544 for trunk/configs

Show
Ignore:
Timestamp:
10/29/08 14:24:54 (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/k5.config

    r4524 r4544  
    1212%  configuration file for K-Prolog 5.1.2a and later 5.1.x versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    424424 
    425425'$lgt_read_single_char'(Char) :- 
    426     get(Code), char_code(Char, Code). 
     426    get_code(Code), char_code(Char, Code), 
     427    (   Code =:= 10 -> 
     428        true 
     429    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
     430        get_code(_)         % support for unbuffered character input 
     431    ;   true 
     432    ). 
    427433 
    428434