Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
93db7d6d
Commit
93db7d6d
authored
1 year ago
by
ave
Committed by
ave
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
add some sim improvements
parent
84984274
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
sim/.python-version
+1
-0
1 addition, 0 deletions
sim/.python-version
sim/fakes/ctx.py
+4
-0
4 additions, 0 deletions
sim/fakes/ctx.py
sim/fakes/network.py
+4
-0
4 additions, 0 deletions
sim/fakes/network.py
sim/fakes/uos.py
+1
-0
1 addition, 0 deletions
sim/fakes/uos.py
with
10 additions
and
0 deletions
sim/.python-version
0 → 100644
+
1
−
0
View file @
93db7d6d
3.10
This diff is collapsed.
Click to expand it.
sim/fakes/ctx.py
+
4
−
0
View file @
93db7d6d
...
...
@@ -100,6 +100,7 @@ class Context:
LEFT
=
"
left
"
RIGHT
=
"
right
"
CENTER
=
"
center
"
HANGING
=
"
hanging
"
CLEAR
=
"
clear
"
END
=
"
end
"
MIDDLE
=
"
middle
"
...
...
@@ -280,6 +281,9 @@ class Context:
def
text_width
(
self
,
text
):
return
_wasm
.
ctx_text_width
(
self
.
_ctx
,
text
)
def
clip
(
self
):
return
def
get_font_name
(
self
,
i
):
return
[
"
Arimo Regular
"
,
...
...
This diff is collapsed.
Click to expand it.
sim/fakes/network.py
+
4
−
0
View file @
93db7d6d
STA_IF
=
1
def
hostname
(
hostname
:
str
)
->
None
:
return
class
WLAN
:
def
__init__
(
self
,
mode
):
pass
...
...
This diff is collapsed.
Click to expand it.
sim/fakes/uos.py
0 → 100644
+
1
−
0
View file @
93db7d6d
from
os
import
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment