-
Notifications
You must be signed in to change notification settings - Fork 5
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
OSX terminal broken after closing REPL #2
Comments
Maybe some escape-chars aren't "closed" normally or some output is already colored and stripped... Please, provide sample data (better if it will be a file, not copypaste) and screenshot. You also can switch off the color temporally as it's mentioned in readme |
Redirecting (ap 1) to a file gives me: ^[[34m1^[[0m Does it help? |
Nope. it's correct I asked for the case to reproduce the problem. |
Also, it may be helpful to know that the problem occurs only after I close the REPL. If I run |
Can you please provide a sample application that reproduces the error? |
Sure. It is very simple: $ cat src/my_test/core.clj
(ns my-test.core
(:require [aprint.core]))
(defn my-aprint []
(aprint.core/aprint 123))
$ lein run -m my-test.core/my-aprint
123
------> at this point everything still works fine
$ lein repl
user=> (require 'my-test.core)
nil
user=> (my-test.core/my-aprint)
123
nil
user=> Bye for now!
------> at this point, everything I type in the terminal is invisible I have tested it on Linux now and it works perfectly. It seems to be some incompatibility with Mac OS. |
I think you should check your terminal settings, its colorscheme and probably, shell... I cannot reproroduce your issue on mac10.9 You can also try to setup environment like mine if you like :) |
I have tried in Terminal and iTerm2 in two computers here and both have this problem. Unfortunately I did not find any settings that could solve this. I will tell you if I discover anything new. Thanks for your efforts! |
@maurolopes if you like, you can setup a vm image and send it to me. |
Last login: Sun Sep 28 22:30:20 on ttys005 test.core=> (use 'aprint.core) OS: OS X 10.9.5 Terminal: Version 2.4 (326) Copyright © 1991-2013 Apple Inc. All rights reserved. I use the example in your project’s README.md. You can see, I only used aprint. |
strange.. feel like I need a fresh virtual osx installation and will give it a try there, will inform you about progress |
I am also experiencing this issue. On OS X Yosemite (10.10.1); iTerm2 Build 2.0.0.20141103. For me the behavior was specifically triggered after making an |
I also ran into this when I repeated calling |
If I open the REPL and run aprint on any collection and then close the REPL, my terminal no longer works properly. It does not show the text I type in. The command-line is invisible, though the output of those commands are visible. Do you know what may cause this behavior? I am running it on MacOS X (the problem occurs in both Terminal and iTerm2). Other than that aprint works great!
Thanks!
The text was updated successfully, but these errors were encountered: