File tree 5 files changed +8
-18
lines changed 5 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def input(disp_text=None):
83
83
bld_chr1 = '_(+'
84
84
bld_chr2 = '-+)'
85
85
bld_chr = '=[]'
86
- bld_started = [ False , False , False ]
86
+ bld_started = False
87
87
88
88
histPntr = len (Pydos_ui .commandHistory )
89
89
@@ -189,17 +189,17 @@ def input(disp_text=None):
189
189
# '_-' -> '=' '(+' -> '[' '+)' -> ']'
190
190
bld_done = False
191
191
bcindx = bld_chr2 .find (keys [editCol - 1 :editCol ])
192
- if bld_chr1 .find (keys [editCol - 1 :editCol ]) != - 1 and not True in bld_started and arrow == "" :
193
- bld_started [ bld_chr1 . find ( keys [ editCol - 1 : editCol ])] = True
194
- elif keys [editCol - 2 :editCol ] == bld_chr1 [bcindx ]+ bld_chr2 [bcindx ] and bld_started [ bcindx ] :
195
- bld_started = [ False for _ in bld_started ]
192
+ if bld_chr1 .find (keys [editCol - 1 :editCol ]) != - 1 and not bld_started and arrow == "" :
193
+ bld_started = True
194
+ elif keys [editCol - 2 :editCol ] == bld_chr1 [bcindx ]+ bld_chr2 [bcindx ] and bld_started :
195
+ bld_started = False
196
196
keys = keys [:editCol - 2 ]+ bld_chr [bcindx ]+ keys [editCol :]
197
197
print ('\x08 ' + keys [editCol - 2 :]+ ' ' + ('\x08 ' * (len (keys [editCol :])+ (1 if onLast else 2 ))),end = "" )
198
198
editCol -= 1
199
199
bld_done = True
200
200
else :
201
- bld_started = [ False for _ in bld_started ]
202
-
201
+ bld_started = False
202
+
203
203
if arrow != "" and ctrlkeys != "" :
204
204
editCol -= 1
205
205
elif arrow != '' :
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- CIRCUITPY_PYSTACK_SIZE =10000
1
+ CIRCUITPY_PYSTACK_SIZE =4000
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ if not "%_boardID%" == "lilygo_tdeck" goto not_lilygo_tdeck
81
81
rename /lib/pydos_ui.py /lib/pydos_ui_uart.py
82
82
echo copy /cpython/lib/optional/pydos_ui_lilygokbd.py /lib/pydos_ui.py
83
83
copy/y /cpython/lib/optional/pydos_ui_lilygokbd.py /lib/pydos_ui.py
84
- echo copy /cpython/lib/optional/settings.toml.large /settings.toml
85
- copy/y /cpython/lib/optional/settings.toml.large /settings.toml
86
84
set _ans2 = A
87
85
goto skip_touchmsg
88
86
@@ -91,8 +89,6 @@ if "%_boardID%" == "makerfabs_tft7" goto tablet
91
89
if " %_boardID% " == " espressif_esp32s3_devkitc_1_n8r8_hacktablet" goto tablet
92
90
goto not_tablet
93
91
:tablet
94
- echo copy /cpython/lib/optional/settings.toml.large /settings.toml
95
- copy/y /cpython/lib/optional/settings.toml.large /settings.toml
96
92
set _ans2 = A
97
93
goto esp32
98
94
@@ -139,8 +135,6 @@ if %_ans% == M goto esp32MP
139
135
copy/y /cpython/ESP32/* /
140
136
copy /cpython/ESP32/lib/* /lib/
141
137
if %_ans2% == A goto wifienv
142
- echo copy /cpython/lib/optional/settings.toml.medium /settings.toml
143
- copy/y /cpython/lib/optional/settings.toml.medium /settings.toml
144
138
goto other
145
139
146
140
:esp32MP
You can’t perform that action at this time.
0 commit comments