clojure-emacs / clojure-emacs/inf-clojure

Pressing enter doesn't returns the user=> prompt.

Open
#216 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Emacs Lisp
Stars
259
Forks
42
PR merge metrics
No merged PRs in 30d

Description

From [Slack's thread](https://clojurians.slack.com/archives/C9BT75KRC/p1721311755937949) in Clojurians #inf-clojure

## Expected behavior

Press enter to return the prompt `=>` like in clj repl.
```clj
$ clj
Clojure 1.11.3
user=>
user=>
user=>
user=>
user=>
user=>
user=>
```

## Actual behavior
Pressing enter doesn't make a new line with the user=> prompt.
![image](https://github.com/user-attachments/assets/3894f4a7-84f7-4bda-a12c-7da61d9f1930)

A variation of the issue pressing control-j instead enter; it doesn't return, but after putting some value, it returns multiple times user =>

```clj
user=>

2
user=> user=> user=> user=> user=> user=> 2
```

## Steps to reproduce the problem

Start a new repl and press enter.

## Environment & Version information

### inf-clojure version information

3.2.1

### Clojure version

1.11.3

### Emacs version

29.3

### Operating system

MacOS Sonoma 14.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.