Update ctrl + c
This commit is contained in:
@@ -17,7 +17,7 @@ This can be achieved as follows:
|
||||
```
|
||||
|
||||
### Exit the program
|
||||
To avoid exiting the program by mistake you have to press `ctrl + m` to leave the prompt.
|
||||
To avoid exiting the program by mistake you have to press `ctrl + c` to leave the prompt.
|
||||
|
||||
### Database
|
||||
The collected data will be stored in a sqlite database. The current working directory must be readable and writeable to store the `ratings.db` file.
|
||||
|
@@ -102,7 +102,7 @@ pub async fn get_user_rating(db: &Database) -> Result<(i64, i64)> {
|
||||
key: Key::Enter, ..
|
||||
} if is_valid => break,
|
||||
Input {
|
||||
key: Key::Char('m'),
|
||||
key: Key::Char('c'),
|
||||
ctrl: true,
|
||||
..
|
||||
} => exit(0),
|
||||
@@ -137,7 +137,7 @@ pub async fn get_user_rating(db: &Database) -> Result<(i64, i64)> {
|
||||
key: Key::Enter, ..
|
||||
} if is_valid => break,
|
||||
Input {
|
||||
key: Key::Char('m'),
|
||||
key: Key::Char('c'),
|
||||
ctrl: true,
|
||||
..
|
||||
} => exit(0),
|
||||
|
Reference in New Issue
Block a user