Bug 658

Summary: Program crashed on clear command
Product: CS3343 Group 26 Automated Timetable Planner Reporter: Vivian Cho <tycho5-c>
Component: Shell MenuAssignee: Vivian Cho <tycho5-c>
Status: RESOLVED FIXED    
Severity: critical    
Priority: ---    
Version: Alpha   
Hardware: PC   
OS: Mac OS   

Description Vivian Cho 2021-12-06 14:20:36 HKT
Summary: 
I tried to clear the shell menu. However, the problem crashed
 
Steps to Reproduce: 
Step 1: Type "clear" command
Step 2: Press Enter key to clear

Actual Results: 
The program showed the error message and crashed.

Expected Results:
The program will clear the command line screen.
Comment 1 Vivian Cho 2021-12-06 15:10:26 HKT
Sorry for letting you to encounter this problem. It seems that the program use "cmd /c cls" to clear the screen while Mac OS does not support. The problem is solved by changing to ANSI escape if the user is using Mac OS system. Please try the system again.