Skip to content
Myr

Support Debian's sensible-editor

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John T. Wodder II · committed by David Lord · parent b9408d5 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
425 unmodified lines
426 if rv:427 return rv428 if WIN:429 return 'notepad'430 for editor in 'vim', 'nano':430 for editor in 'sensible-editor', 'vim', 'nano':431 if os.system('which %s >/dev/null 2>&1' % editor) == 0:432 return editor433 return 'vi'434
204 unmodified lines
modified:CHANGES.rst+2 added
49 unmodified lines
50 preserves paragraph breaks, fixing multiline formatting.51 :issue:`834, 1066, 1397`52- Option help text that is wrapped adds an extra newline at the end to53 distinguish it from the next option. :issue:`1075`54- Consider ``sensible-editor`` when determining the editor to use for55 ``click.edit()``. :pr:`1469`565758Version 7.059-----------
540 unmodified lines