You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> <kbd>CTRL</kbd>+<kbd>C</kbd> will not be returned by `readkey()`, but instead raise a `KeyboardInterupt`. If you what to handle it yourself, use `readchar()`.
82
+
> **Note** <kbd>CTRL</kbd>+<kbd>C</kbd> will not be returned by `readkey()`, but instead
83
+
> raise a `KeyboardInterupt`. If you what to handle it yourself, use `readchar()`.
83
84
84
85
### `readchar.key` module
85
86
86
-
This submodule contains a list of available keys to compare against. The constants are defined depending on your operating system, so it should be
87
-
fully portable. If a key is listed here for your platform, `readkey()` can read it, and you can compare against it.
87
+
This submodule contains a list of available keys to compare against. The constants are
88
+
defined depending on your operating system, so it should be fully portable. If a key is
89
+
listed here for your platform, `readkey()` can read it, and you can compare against it.
88
90
89
91
### `readchar.config` class
90
92
91
-
This static class contains configurations for `readchar`. It holds constants that are used in other parts of the code as class attributes. You can
92
-
override/change these to modify its behaviour. Here is a description of the existing attributes:
93
+
This static class contains configurations for `readchar`. It holds constants that are
94
+
used in other parts of the code as class attributes. You can override/change these to
95
+
modify its behaviour. Here is a description of the existing attributes:
93
96
94
97
<dl>
95
98
<dt><code>INTERRUPT_KEYS</code></dt>
@@ -101,7 +104,6 @@ List of keys that will result in `readkey()` raising a `KeyboardInterrupt`. <br>
101
104
</dd>
102
105
</dl>
103
106
104
-
105
107
## OS Support
106
108
107
109
This library actively supports these operating systems:
@@ -114,18 +116,21 @@ Some operating systems are enabled, but not actively tested or supported:
114
116
- macOS
115
117
- FreeBSD
116
118
117
-
Theoretically every Unix based system should work, but they will not be actively tested. It is also required that somebody provides initial test
118
-
results before the OS is enabled and added to the list. Feel free to open a PR for that.
119
+
Theoretically every Unix based system should work, but they will not be actively tested.
120
+
It is also required that somebody provides initial test results before the OS is enabled
121
+
and added to the list. Feel free to open a PR for that.
119
122
120
123
Thank you!
121
124
122
-
123
125
## How to contribute
124
126
125
-
You have an issue problem or found a bug? You have a great new idea or just want to fix a typo? Great :+1:. We are happy to accept your issue or pull
126
-
request, but first, please read our [contribution guidelines](https://github.com/magmax/python-readchar/blob/master/CONTRIBUTING.md). They will also
127
-
tell you how to write code for this repo and how to properly prepare an issue or a pull request.
127
+
You have an issue problem or found a bug? You have a great new idea or just want to fix
128
+
a typo? Great :+1:. We are happy to accept your issue or pull request, but first, please
0 commit comments