(Vibe Coded) Add --raw and --qwerty flags for typing arbitrary files. Scroll for long texts. - #176
Closed
drewja wants to merge 1 commit into
Closed
(Vibe Coded) Add --raw and --qwerty flags for typing arbitrary files. Scroll for long texts.#176drewja wants to merge 1 commit into
drewja wants to merge 1 commit into
Conversation
--raw preserves the original file layout (line breaks, indentation, empty lines, tabs expanded to 4 spaces) so the user can practice typing structured text like source code or man pages. --qwerty displays all UTF-8 but only requires the user to type ASCII-printable characters. Non-typeable characters are shown in yellow and the cursor skips over them. Entirely non-typeable words are auto-skipped. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
|
Realized that submitting this as a PR was premature so I closed it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Did this for my own use case, thought I would make a PR in case anyone else likes these features.
--raw preserves the original file layout (line breaks, indentation, empty lines, tabs expanded to 4 spaces) so the user can practice typing structured text like source code, books, man pages.
--qwerty displays all UTF-8 but only requires the user to type ASCII-printable characters. Non-typeable characters are shown in yellow and the cursor skips over them. Entirely non-typeable words are auto-skipped.
Also added automatic scroll for longer files.
Next thing I'm thinking about is to have the ability to paginate a file into n lines with progress saved to a file somewhere. That way, at the end of every page you get the report and the option to continue, repeat page, quit, etc. Currently I have a shell script that does all the tracking and calls the binary with just the current page.