Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@duot
Copy link

@duot duot commented Mar 3, 2024

Hi there,

I want to practice over existing (non-randomized) texts. I'm toying with this. Maybe eventually, we can do something like cat sample.txt | toipe.

What do you think of this idea?


This change will read words in a text file in sequence. No piping support yet. (Apologies in advance for bad Rust. I'm new to it).

The -s (sequential) flag must be provided in combination with -f.

Limitations:

  • -n must be provided for long texts (over default 30)
  • files with too many lines will not fit the screen
  • there's no scrolling yet
  • word/character filtering may need to be tweaked

duot added 2 commits March 3, 2024 01:03
This change will read words in a text file and will not scramble it.

The `-s` (sequential) flag must be provided in combination with `-f`.

Limitations:
- `-n` must be provided for long texts (over default count)
- files with too many lines will not fit the screen
- there's no scrolling yet
- word/character filtering may need to be tweaked
@duot
Copy link
Author

duot commented Mar 3, 2024

Oops. I didn't realize that a similar work, #57, is already underway 🤦

@duot duot closed this Mar 10, 2024
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