Skip to content

copy button(s) do not work in REPL interactive mode #40207

@kpe

Description

@kpe

Summary

copy button for REPL errors does not work

Description

using an interactive python REPL with a content like:

# %%
import sys

print("std")
print("err", file=sys.stderr)
not_existing

would produce an error (as not_existing is undefined) and the output is split into two sections, stdout+stderr where the copy button works, and a second section where the NameError: is shown and where both the copy and open REPL Output buttons have no effect.

DESCRIPTION_HERE

Steps to reproduce:

  1. start a REPL in the editor (with content as above)
  2. execute
  3. try to copy the stderr+stdout - works
  4. try to copy the error - nothing happens (see the second copy button in the attached screenshot)

Zed Version and System Specs

recent 0.207.4 - but I believe it never actually worked

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    .contrib/good first issueIssue suitable for first-time contributorsarea:editorFeedback for code editing, formatting, editor iterations, etcarea:languages/pythonPython programming language supportarea:replrepl, jupyter, notebooks, etcsize:smallbite-size issues

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions