Skip to content

nono outputs terminal control codes in kitty after closing #1255

Description

@rlex

What happened?

nono outputs terminal control codes after closing - 15;1R, 2;1R and so on. It happens after you exit interactive app, or even if app fails to launch.

What did you expect to happen?

Shell prompt should be clear after exiting app

Steps to reproduce

brew install nono
brew install kitty
open kitty terminal (/Applications/kitty.app)
nono run --profile always-further/pi -- pi

After it opens, exit it with ctrl-d or exit. You will see control codes in prompt.

I verified it with completely fresh kitty install and empty shell without customization (nuked my .zshrc). Bash is affected as well.

If used without nono, pi exits correctly, without junk in prompts.

Relevant output or logs

nono version

0.65.1

Operating system

macOS

OS version / distro

MacOS 26.6.2

Kernel version (Linux only)

No response

Profile (if relevant)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions