@staff0rd/assist 0.1010.2 → 0.1011.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,4 +3,4 @@ title: Showing long links, paths and snippets
|
|
|
3
3
|
when: always
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
The terminal hard-wraps long lines, so a long URL, file path or code snippet in a reply can't be clicked or copied cleanly. When a reply contains one the user needs to open or copy, also pass it to `assist show --title '<title>' --body -` as markdown on stdin. It opens in the session's web preview pane, where it stays whole, and returns straight away; outside a web session it just prints the markdown.
|
|
6
|
+
The terminal hard-wraps long lines, so a long URL, file path or code snippet in a reply can't be clicked or copied cleanly. When a reply contains one the user needs to open or copy, also pass it to `assist show --title '<title>' --body -` as markdown on stdin. It opens in the session's web preview pane, where it stays whole, and returns straight away; outside a web session it just prints the markdown. Don't show a file the user can already open from the session's diff; this is for paths they can't otherwise reach, such as files outside the repo.
|