Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unfriendly nesting of install message #233

Open
abrudz opened this issue Nov 3, 2020 · 3 comments
Open

Unfriendly nesting of install message #233

abrudz opened this issue Nov 3, 2020 · 3 comments

Comments

@abrudz
Copy link

abrudz commented Nov 3, 2020

When installing, the workspace prints a 2 row 1 column matrix of messages, through the code:

'Installed at ' ']open ',apo¨path rel

It is quite common to have boxing on, and the display is thus less than optimal:

┌─────────────────────────────────────────────────────────────────────────────────┐
│Installed at "C:/Users/Adam.DYALOG/AppData/Local/Temp/acre14.0/acre14.0/"        │
├─────────────────────────────────────────────────────────────────────────────────┤
│]open "C:/Users/Adam.DYALOG/AppData/Local/Temp/acre14.0/acre14.0/releaseNotes.md"│
└─────────────────────────────────────────────────────────────────────────────────┘

Consider mixing or at least formatting to achieve a nicer output where the second line can be executed without editing:

Installed at "C:/Users/Adam.DYALOG/AppData/Local/Temp/acre14.0/acre14.0/"        
]open "C:/Users/Adam.DYALOG/AppData/Local/Temp/acre14.0/acre14.0/releaseNotes.md"
@PhilLast
Copy link
Collaborator

PhilLast commented Nov 5, 2020

Thanks Adám

Have changed this in dev to

{⎕←⍵}¯'Installed at ' ']open ',∘apo¨path rel

that is the way acre usually and incidentally delivers messages (rather than results) to the session.
But in this case it also, usefully, becomes the shy result of the function; surprisingly so because it seems that the last binding is between a dfn and each rather than to assignment.

@abrudz
Copy link
Author

abrudz commented Nov 5, 2020

Makes sense. Just be careful to use ¨ instead of ¯ ;-)

@PhilLast
Copy link
Collaborator

PhilLast commented Nov 6, 2020

Yup. I need better glasses when working in the kitchen. There again it'd be even better if we had some lighting in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants