Add new input_method "type"

This does the same thing as input_method "pipe" but is more clear what
it's doing (typing text into the builtin composer)
This commit is contained in:
Jonathan Wren 2022-06-11 12:15:49 -07:00
parent ac05bc67ce
commit 6d18e75559
5 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@ Feature: Implementing Runtime Overrides for Select Configuration Keys
Scenario: Override configured editor with built-in input === editor:''
Given we use the config "basic_encrypted.yaml"
And we use the password "test" if prompted
When we run "jrnl --config-override editor ''" and pipe
When we run "jrnl --config-override editor ''" and type
This is a journal entry
Then the stdin prompt should have been called
And the editor should not have been called