f0b9eaa0c3291baadace8edfd38bdf4c0d98b8a9
- Author
- Pavle Portic <pavle.portic@tilda.center>
- Committer
- Pavle Portic <pavle.portic@tilda.center>
- Date
Message
Update screenshot in readme
Diff
1diff --git a/README.md b/README.md
2index 85499a0543c284f035ba3e5bfc1a750b1c156034..0207d81c4dc330e881da47795ffd85eb6e0e44a9 100644
3--- a/README.md
4+++ b/README.md
5@@ -1,7 +1,7 @@
6 # Mandelbrot
7 A simple python script that draws an interactive mandelbrot set in the terminal
8
9-
10+
11
12 ## Keybindings
13 - Arrow keys - Move around
14diff --git a/mandelbrot.py b/mandelbrot.py
15index 5ff0bc766c2f2b7c9493a8197618b1fecec26ef9..809005c223b02645309645edb24332d284ae4f0f 100644
16--- a/mandelbrot.py
17+++ b/mandelbrot.py
18@@ -87,7 +87,7 @@ def handle_keyboard(char):
19 global MONOCHROME
20 global COLOR_COUNT
21
22- if char == 113:
23+ if char == 113: # Quit
24 return True
25 elif char == 258: # Down
26 Y_MID += Y_SCALE * (1 / (2 ** (ZOOM_LEVEL + 1)))