NolantheNerd / scripture_phaser

scripture_phaser helps you to memorize the Bible.
https://pypi.org/project/scripture-phaser/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add Notepad as an Editor (for Windows) #4

Closed NolantheNerd closed 6 months ago

NolantheNerd commented 6 months ago

Description

Right now, running scripture_phaser on Windows does not work if the user has not set an environmental variable called EDITOR or if the user does not have one of gedit, vim, nano, or neovim installed. On the path towards Windows support, Notepad should be added as an editor option.

Running scripture_phaser through the CLI and attempting to practice a passage on Windows should open up Notepad by default.

Expected Path

scripture_phaser r 1 John 1:1 - 1:2 p (Notepad immediately opens a file called "1 John 1:1 - 1:2" or similar; after terminating the Notepad program, scripture_phaser regains control and indicates to the user how accurate their attempt was)