File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -866,7 +866,16 @@ Set Option State
866866                Press Key N Times    1    ${ARROW_UP } 
867867            END
868868
869-             ${out } =    Read From Terminal Until    ---/
869+             # workaround, if fuzzysearch allows for even one deletion, `---/` will match to `---` 
870+             # and stop reading once either top or bottom border of the frame is found. 
871+             # There is no other more characteristic string to look for. 
872+             # Sleep to make sure the whole frame is drawn before trying to read it. 
873+             IF    ${TELNET_FUZZY_MAX_ERRORS } +${TELNET_FUZZY_MAX_DELETIONS }  > 0 
874+                 Sleep    1s
875+                 ${out } =    Read From Terminal
876+             ELSE
877+                 ${out } =    Read From Terminal Until    ---/
878+             END
870879            ${list } =    Extract Strings From Frame    ${out } 
871880            # TODO: Temporarily disabled due to the complexity with 
872881            # options spanning into multiple lines. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments