Skip to content

Commit

Permalink
Termupdate (#163)
Browse files Browse the repository at this point in the history
Overhauled the terminal app, modified UTF8 font scripts, added missing chars to UTF8 font, tweaked Palette colors.


* Create terminal module directory

* Fix get_total_width

* Add terminal

* Linted terminal

* Fix misnamed easing module

* Improve extended palette colors. Remove unused color functions.  
  This is a potentially breaking change because of the removed functions in the color module. However, no other apps in the main repo were using those functions, and the only app in the community apps repo that will be affected, already had to have some function locations updated.

* add user line and cursor to terminal

* Small formatting changes

* Extend utf8 font creation tools

* Fill missing utf8 glyphs using unifont

* Bring over Terminal logic

* Use new font

* Small incremental changes

* Add mh version to parse_files

* Add commands file for terminal

* Re-add commands to terminal

* Execute scripts

* Add input, help command, code execution start

* Make REPL work in terminal

* Tweak red color

* Store prev lines in terminal

* Revert part of a breaking change

* Tweak help message
  • Loading branch information
echo-lalia authored Oct 1, 2024
1 parent 34bdafd commit f254cb1
Show file tree
Hide file tree
Showing 21 changed files with 990 additions and 392 deletions.
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ skip = """
./src/font,\
"""

[tool.pyright]
# Ruff is handling most of this stuff, so we'll supress some of pyrights warnings.
include = [
"./src",
"./devices",
"./tools",
]
exclude = [
"./src/font",
]
ignore = ["*"]


[tool.ruff]
# Exclude third-party code from linting and formatting
Expand Down
Binary file modified src/font/utf8_8x8.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion src/font/utf8_8x8.py

Large diffs are not rendered by default.

255 changes: 0 additions & 255 deletions src/launcher/terminal.py

This file was deleted.

Loading

0 comments on commit f254cb1

Please sign in to comment.