journal-cli 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/journal-cli/question.rb +1 -1
- data/lib/journal-cli/version.rb +1 -1
- data/src/_README.md +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 454b74fd0d807973fec7c1c0de222b4a725e7df98d32abb3c112a4cd5d8fe05b
|
4
|
+
data.tar.gz: 160ce5a1e637c218fcae0a6b295b31af629654fe3ab66f3ad589ff04117e3055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8253e5a0e4127e13d1b697e6340fae5a24f9289043de349f6b5b4994a792d0a88d390b5d6f0856efa0c5e097c5d6573b97ccccb771d0c999ee029d9eb089e2
|
7
|
+
data.tar.gz: 897061977f2b3de27fa5e9f8db934a9e21de963edbf37677e50c1463b59d85cd31f2b65cc334bdcc338659078c423b50e56aeaed97680938c3b0132591c81b8e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -134,5 +134,5 @@ Questions with numeric answers will have a valid range assigned. Enter just a nu
|
|
134
134
|
|
135
135
|
Questions with type 'string' or 'text' will save when you hit return. Pressing return without typing anything will leave that answer blank, and it will be ignored when exporting to Markdown or Day One (an empty value will exist in the JSON database).
|
136
136
|
|
137
|
-
When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field,
|
137
|
+
When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, type CTRL-d.
|
138
138
|
|
data/lib/journal-cli/question.rb
CHANGED
@@ -87,7 +87,7 @@ module Journal
|
|
87
87
|
##
|
88
88
|
def read_lines(prompt: nil)
|
89
89
|
output = []
|
90
|
-
puts prompt.nil? ? @prompt : @secondary_prompt
|
90
|
+
puts (prompt.nil? ? @prompt : @secondary_prompt) + ' (CTRL-d to save)'
|
91
91
|
line = `gum write --placeholder "#{prompt}" --width 80 --char-limit 0`
|
92
92
|
return output.join("\n") if line.strip.empty?
|
93
93
|
|
data/lib/journal-cli/version.rb
CHANGED
data/src/_README.md
CHANGED
@@ -138,7 +138,7 @@ Questions with numeric answers will have a valid range assigned. Enter just a nu
|
|
138
138
|
|
139
139
|
Questions with type 'string' or 'text' will save when you hit return. Pressing return without typing anything will leave that answer blank, and it will be ignored when exporting to Markdown or Day One (an empty value will exist in the JSON database).
|
140
140
|
|
141
|
-
When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field,
|
141
|
+
When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, type CTRL-d.
|
142
142
|
|
143
143
|
<!--END README-->
|
144
144
|
## Contributing
|