mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
4482997a16
This stops slogging the tab completion and intead adds a +sole-effect for tab completion output. This is morally correct, and it lets dojo clients show tab completions how they want. For example, web dojo could implement this as a drop-down box. Another advantage is that this puts the rendering logic in drum, which knows the width of the terminal. Thus, we can make sure each match takes no more than one line by truncating with ellipses. If there's only one match and it's already fully typed, then we display the whole type. |
||
---|---|---|
.. | ||
drum.hoon | ||
helm.hoon | ||
kiln.hoon | ||
write.hoon |