Bug 658 - Program crashed on clear command
Summary: Program crashed on clear command
Status: RESOLVED FIXED
Alias: None
Product: CS3343 Group 26 Automated Timetable Planner
Classification: Unclassified
Component: Shell Menu (show other bugs)
Version: Alpha
Hardware: PC Mac OS
: --- critical
Assignee: Vivian Cho
URL:
Depends on:
Blocks:
 
Reported: 2021-12-06 14:20 HKT by Vivian Cho
Modified: 2021-12-06 15:11 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.