Skip to content

[42ml printed as 102nd char when printing to CIDER repl w. clansi or clojure-term-colors #2891

Open
@maacl

Description

@maacl

Expected behavior

Actual character in string printed in correct colors. This works using a regular lein repl.

Actual behavior

�[42ml is printed what appears to be every 103rd char.

Steps to reproduce the problem

(print (apply str (repeat 103 (style "l" :bg-green))))

using clansi (https://github.com/ams-clj/clansi) or equivalent in (https://github.com/trhura/clojure-term-colors)

Environment & Version information

CIDER version information

;; CIDER 0.26.0 (package: 20200805.827) (Nesebar), nREPL 0.8.0
;; Clojure 1.10.1, Java 13.0.1

Lein/Boot version

N/A

Emacs version

GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
of 2020-08-10

Operating system

Ubuntu 20.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions