Skip to content

Commit 834687b

Browse files
author
Wayne
committed
Update Readme
1 parent 7d478f7 commit 834687b

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

data/test.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
T | 0 | read book
2-
T | 0 | buy book
3-
T | 0 | read book
4-
T | 0 | buy booooooooks
1+
T | 0 | read book
2+
T | 0 | buy book
3+
T | 0 | read book
4+
T | 0 | buy booooooooks

docs/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Delete task |delete {task index}
2323
Find task |find {task description}
2424
Mark a task as completed|done {task index}
2525
List all completed task in the past week|statistic
26+
Save and exit DukeHub |bye
2627

2728
## Usage
2829

@@ -165,9 +166,22 @@ List all completed task in the past week|statistic
165166
`read book chapter 4`
166167
`read book chapter 5`
167168

169+
### 10.`bye`
170+
- saves and exit the application
171+
172+
*Format*
173+
`bye`
174+
175+
*Example of usage:*
176+
`bye`
177+
178+
*Expected outcome:*
179+
`Bye, Have a Great Time!`
180+
*`program closes after 1 second`*
181+
168182
##Credits
169-
*Image of the duke is taken from here https://coconuts.co/manila/lifestyle/maria-ozawa-staying-permanently-ph/\
170-
*Image of the user is taken from here https://www.instagram.com/yua_mikami/?hl=en
183+
* Image of the duke is taken from here https://coconuts.co/manila/lifestyle/maria-ozawa-staying-permanently-ph/\
184+
* Image of the user is taken from here https://www.instagram.com/yua_mikami/?hl=en
171185

172186

173187

src/main/java/MainWindow.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import duke.Duke;
2-
import javafx.application.Platform;
32
import javafx.fxml.FXML;
43
import javafx.scene.control.Button;
54
import javafx.scene.control.ScrollPane;
@@ -8,7 +7,6 @@
87
import javafx.scene.layout.*;
98
import javafx.scene.paint.Color;
109

11-
import java.util.concurrent.CompletableFuture;
1210

1311

1412
/**

0 commit comments

Comments
 (0)