You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you write a toot using toot post -e, the editor opens a temporary file named something like /tmp/tmp1234567. Because of the generic filename it's not possible to apply any automatic settings (syntax, wrapping, spell checking, etc) to the file.
Include an explicit prefix or suffix in the name so that toots are identifiable for the purpose of customizing editor settings.
E.g.:
with tempfile.NamedTemporaryFile(suffix='.toot') as fd:
...
The text was updated successfully, but these errors were encountered:
larsks
added a commit
to larsks/toot
that referenced
this issue
Nov 11, 2022
When you write a toot using
toot post -e
, the editor opens a temporary file named something like/tmp/tmp1234567
. Because of the generic filename it's not possible to apply any automatic settings (syntax, wrapping, spell checking, etc) to the file.Include an explicit prefix or suffix in the name so that toots are identifiable for the purpose of customizing editor settings.
E.g.:
The text was updated successfully, but these errors were encountered: