Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
w84death committed Jul 26, 2023
1 parent a4b46a7 commit 7185320
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ System should run on any MicroPython supproted board but it's tested and develop
- [smolOS homepage (http)](http://smol.p1x.in/os/)
- [smolOS homepage (https)](https://smol.p1x.in/os/)

## Screens
![smolOS XIAO](media/smolos.png)
![smolOS list](media/list.png)
![smolOS help](media/help.png)
![smolOS editor](media/edit.png)

## Real Life Usecases

Expand Down Expand Up @@ -79,14 +75,17 @@ In MicroPython REPL write:

Write `help` for manual :)

![smolOS list](media/list.png)

![smolOS help](media/help.png)

![smolOS editor](media/edit.png)

## Missing Features
Some kind of a roadmap.
- move/copy files
- saving in editor
- code refactoring and tools unification
- good manual


## Articles
- [hackster.io](https://www.hackster.io/news/krzysztof-jankowski-s-micropython-based-smolos-puts-a-tiny-posix-like-environment-on-your-esp8266-0c776559152b)
- [cnx-software.com](https://www.cnx-software.com/2023/07/12/smolos-brings-a-linux-like-command-line-interface-to-esp8266-microcontroller/)
Expand Down
Binary file added media/edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed media/editor.png
Binary file not shown.
Binary file modified media/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion smolos.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,10 @@ def edit(self, filename=""):

print("\033[7m File:",display_name,"Lines:",line_count," // `help`, `<` back,`>` next page, `quit`\t\033[0m")

display_lines = ""
for line_num,line in enumerate(print_lines,start=start_index + 1):
print(line_num,":",line.strip())
display_lines += str(line_num)+": "+line
print(display_lines)
else:
if show_help:
self.man(ed_commands_manual)
Expand Down

0 comments on commit 7185320

Please sign in to comment.