beta 1: remove framebuffer crate, replace with own code, small fixes/features added

added some kanji, docs
This commit is contained in:
stjet
2025-03-13 06:48:53 +00:00
parent 3b5c37520e
commit 8c0b85ae9f
75 changed files with 408 additions and 64 deletions

View File

@@ -0,0 +1,33 @@
A text editor. Specifically, a subset of a vim.
## Usage
It is probably best to read a Vim tutorial for the basics. All supportd keystrokes should *mostly* behave the same as in Vim.
### Supported in Command-line Mode
- `e[dit]`
- `t[abe]`, `[tab]n`, `[tab]p`
- `q[uit]`
- `w[rite]`
### Supported in Normal Mode
- `:`
- `i`
- `A`
- `r`
- `dd`
- `dw`
- `G`
- `gg`
- `<number>gg`
- `f<char>`
- `F<char>`
- `x`
- `h`, `j`, `k`, `l`
- `0`, `^`, `$`
### Malvim Specific
In Command-line Mode, `autoindent` can be done to toggle auto-indenting (when making new line in Insert Mode [ie, by hitting Enter/Return], space indentation of the new line will be the same as the space indentation of the current line).

View File

@@ -0,0 +1,9 @@
See [Wikipedia](https://en.wikipedia.org/wiki/Reversi) for the rules of the game.
## Usage
Each square has a two-digit number on it. Type that number to place a piece on that square. If only one digit is typed, the backspace key can be hit to clear that digit. Black goes first.
Once the game is over, the winner (if it is not a tie) will be announced, and any key can be hit to play again.
There is currently no computer opponent, so this is a pass-and-play game.

View File

@@ -1,4 +1,4 @@
A basic, line-buffered, modal terminal.
A basic, modal terminal.
## Usage
@@ -17,7 +17,7 @@ In STDIN mode, any keys typed followed by the 'enter' key will send those keys t
### Sudo
To get sudo to read from stdin, the `-S` option will need to be used (eg, `sudo -S ls`). Also, the password prompt will not show since the terminal is line-buffered. Just switch to STDIN mode, type in the password and hit enter.
To get sudo to read from stdin, the `-S` option will need to be used (eg, `sudo -S ls`). Then switch to STDIN mode, type in the password and hit enter.
## Copy / Paste