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
Describe the bug
The MicroPython app can not correctly display python scripts indented with tabs
To Reproduce
Steps to reproduce the behavior:
Go to apps/code/script_template.cpp
Indent some script with tabs
Build and run
Displaying the script in Omega does not work completely correctly, there is corruption, extra characters and such stuff.
Expected behavior
A tab should be just be displayed as is standard for tabulator characters, without causing extra characters to appear.
This is how the code should look like:
from math import *
from turtle import *
def squares(angle=0.5):
reset()
L=330
speed(10)
penup()
goto(-L/2,-L/2)
pendown()
for i in range(660):
forward(L)
left(90+angle)
L=L-L*sin(angle*pi/180)
hideturtle()
Photos
Desktop (please complete the following information):
Describe the bug
The MicroPython app can not correctly display python scripts indented with tabs
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A tab should be just be displayed as is standard for tabulator characters, without causing extra characters to appear.
This is how the code should look like:
Photos
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: