Skip to content

(Vibe Coded) Add --raw and --qwerty flags for typing arbitrary files. Scroll for long texts. - #176

Closed
drewja wants to merge 1 commit into
max-niederman:mainfrom
drewja:main
Closed

(Vibe Coded) Add --raw and --qwerty flags for typing arbitrary files. Scroll for long texts.#176
drewja wants to merge 1 commit into
max-niederman:mainfrom
drewja:main

Conversation

@drewja

@drewja drewja commented Mar 30, 2026

Copy link
Copy Markdown

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.

--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>
@drewja drewja closed this Mar 30, 2026
@drewja

drewja commented Mar 31, 2026

Copy link
Copy Markdown
Author

Realized that submitting this as a PR was premature so I closed it.
Changes should be international friendly so while It does work for me, there should be options for different keyboard layouts.
Maybe something like a --layout or --keyboard flag where QWERTY (English), JCUKEN (Russian), AZERTY (French), QWERTZ (German), etc are all options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant