fastled 1.2.3__py3-none-any.whl → 1.2.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fastled/__init__.py CHANGED
@@ -13,7 +13,7 @@ from .types import BuildMode, CompileResult, CompileServerError
13
13
  # IMPORTANT! There's a bug in github which will REJECT any version update
14
14
  # that has any other change in the repo. Please bump the version as the
15
15
  # ONLY change in a commit, or else the pypi update and the release will fail.
16
- __version__ = "1.2.3"
16
+ __version__ = "1.2.4"
17
17
 
18
18
 
19
19
  class Api:
fastled/keyboard.py CHANGED
@@ -1,3 +1,4 @@
1
+ import _thread
1
2
  import os
2
3
  import select
3
4
  import sys
@@ -69,6 +70,10 @@ class SpaceBarWatcher:
69
70
  # Check if there's input ready
70
71
  if select.select([sys.stdin], [], [], 0.1)[0]:
71
72
  char = sys.stdin.read(1)
73
+ if ord(char) == 3: # ctrl+c on mac, maybe also linux?
74
+ _thread.interrupt_main()
75
+ break
76
+
72
77
  if char in _WHITE_SPACE:
73
78
  self.queue.put(ord(" "))
74
79
  finally:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastled
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: FastLED Wasm Compiler
5
5
  Home-page: https://github.com/zackees/fastled-wasm
6
6
  Maintainer: Zachary Vorhies
@@ -266,6 +266,7 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
266
266
 
267
267
  # Revisions
268
268
 
269
+ * 1.1.24 - Mac/Linux now properly responds to ctrl-c when waiting for a key event.
269
270
  * 1.1.23 - Fixes missing `live-server` on platforms that don't have it already.
270
271
  * 1.2.22 - Added `--purge` and added docker api at __init__.
271
272
  * 1.2.00 - `fastled.exe` is now a signed binary on windows, however it's a self signed binary so you'll still get the warning on the first open. There's been a small api change between the server and the client for fetching projects.
@@ -1,4 +1,4 @@
1
- fastled/__init__.py,sha256=yJbz-G3Tqhg6CZUuo8m6NltPF6dwvfHfYe8r2IS6HKY,5300
1
+ fastled/__init__.py,sha256=ydXhC18DLcAk-nrzjg85AvyYlAVsZCoKo18bUKHMPjE,5300
2
2
  fastled/app.py,sha256=Y1Q5mx4zdQbZ2AaB43ZqJo-w_8ehAaWVNtvTyeCRSaE,1970
3
3
  fastled/cli.py,sha256=FjVr31ht0UPlAcmX-84NwfAGMQHTkrCe4o744jCAxiw,375
4
4
  fastled/client_server.py,sha256=8L62zNtkGtErDtWrr4XVNsv7ji2zoS5rlqfCnwI3VKU,13177
@@ -6,7 +6,7 @@ fastled/compile_server.py,sha256=Z7rHFs3M6QPbSCsbgHAQDk6GTVAJMMPCXtD4Y0mu8RM,265
6
6
  fastled/compile_server_impl.py,sha256=B_7zjdKHxX2JbNcx26hntwtk8-MyQTs6LMZlpOEuloM,8746
7
7
  fastled/docker_manager.py,sha256=J6epThU164XAKe8pDsquLs8ytFFn6QAch2PEVeRNY80,26538
8
8
  fastled/filewatcher.py,sha256=LwEQJkqADsArZyY499RLAer6JjJyDwaQBcAvT7xmp3c,6708
9
- fastled/keyboard.py,sha256=Zz_ggxOUTX2XQEy6K6kAoorVlUev4wEk9Awpvv9aStA,3241
9
+ fastled/keyboard.py,sha256=Uwzfgd85BiZTi5D8f3HRQex9cvOuveagUqjULeTEHw4,3423
10
10
  fastled/live_client.py,sha256=_KvqmyUyyGpoYET1Z9CdeUVoIbFjIUWwPcTp5XCQuxY,2075
11
11
  fastled/open_browser.py,sha256=uhx_UkZ4URUcFn--ZOGMacjL6gFZHwnMu2qYyok2YzE,1620
12
12
  fastled/parse_args.py,sha256=IN63KKFX8uO5h5JSrFtHOFoov6Sw9v41NwB-VitU0No,6579
@@ -24,9 +24,9 @@ fastled/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
24
24
  fastled/site/build.py,sha256=jTbw3W_3el0REwKo8YTOkAsQBLEtxSj2trMOGAUuVYc,12539
25
25
  fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
26
26
  fastled/test/examples.py,sha256=6xPwx_k9_XwYTpI1nk4SrYbsJKHJACd30GzD1epGqhY,1597
27
- fastled-1.2.3.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
28
- fastled-1.2.3.dist-info/METADATA,sha256=v8WqfZq9ETt1VBKPKzDre6LMKSUwWyu1_NPJSxmfzYI,19609
29
- fastled-1.2.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
30
- fastled-1.2.3.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
31
- fastled-1.2.3.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
32
- fastled-1.2.3.dist-info/RECORD,,
27
+ fastled-1.2.4.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
28
+ fastled-1.2.4.dist-info/METADATA,sha256=Q_0C9xu_HsVl7OsP5yczB0PBNvGvutBoA3cXJEGT9l4,19694
29
+ fastled-1.2.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
30
+ fastled-1.2.4.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
31
+ fastled-1.2.4.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
32
+ fastled-1.2.4.dist-info/RECORD,,