This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Commit fe95fdc
committed
Enhance user interaction with editor choice and input options 🎛️
In this commit, we've made some user-friendly enhancements to the CLI interaction. Now, the user's preferred editor, as specified by the `EDITOR` environment variable, is used for editing tasks. If no editor is specified, we default to vim. The prompt message has been updated to reflect this change. 📝
Additionally, we've introduced a new way to trigger the edit mode. If the user's input ends with `\e`, the input text (excluding `\e`) will be opened in the editor for further modification. This provides a more flexible way for users to edit their input. 🔄
As always, the user can quit the program by entering `q`. These changes aim to make the interaction more intuitive and user-friendly. Happy coding! 🚀1 parent 76f595a commit fe95fdc
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
| |||
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
314 | | - | |
| 317 | + | |
315 | 318 | | |
316 | 319 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
321 | 328 | | |
322 | 329 | | |
323 | 330 | | |
| |||
0 commit comments