Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Repl outputs some hidden chars somehow #99

Closed
arichiardi opened this issue Mar 9, 2017 · 6 comments
Closed

Repl outputs some hidden chars somehow #99

arichiardi opened this issue Mar 9, 2017 · 6 comments

Comments

@arichiardi
Copy link
Collaborator

Hi Antonio,

I know this report is very vague, but you can observe here that maybe some escape character, maybe due to the highlight, is off. Inf-clojure can understand ANSI colors the output and it does, but the format of these characters is not valid for it. Again, I am not an expert in the area therefore I am not sure.

2017-03-05-194935_342x149_scrot

At the moment inf-clojure strips out the characters, but I wanted to open an issue because it might probably better to fix it here, if somebody has some suggestion on how to.

Thanks!

@arichiardi
Copy link
Collaborator Author

This is related to the node readline it seems:

http://stackoverflow.com/questions/21785955/messed-up-progress-bars-when-installing-npm-packages-inside-ansi-term

nodejs/node-v0.x-archive#5344

So it seems that I can simply use the -d option for solving this problem.

@anmonteiro
Copy link
Owner

anmonteiro commented Mar 17, 2017

This is still a bug. We should not output escape characters to the socket repl output

@anmonteiro anmonteiro reopened this Mar 17, 2017
@arichiardi
Copy link
Collaborator Author

Just to clarify, this does not happen with socket repl according to my experience.

@anmonteiro
Copy link
Owner

Wait, so you don't need the socket REPL tonconnect to inf-clojure?!

@arichiardi
Copy link
Collaborator Author

Nope, the socket is just a convenience , the inf- modes are usually used to send to input and read from output descriptors.

@anmonteiro
Copy link
Owner

start Lumo with --dumb in inf-clojure, or TTY escape codes will be output

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

No branches or pull requests

2 participants