Skip to content

bug: ctrl+c is not handled correctly #62

@Qainguin

Description

@Qainguin

As an example, I'm using @mariozechner/pi-coding-agent

Nodepod output:

nodepod:/home/user$ pi --offline
fd not found. Offline mode enabled, skipping download.
ripgrep not found. Offline mode enabled, skipping download.

 pi v0.70.6                                                                                                                                              
 escape interrupt · ctrl+c/ctrl+d clear/exit · / commands · ! bash · ctrl+o more                                                                         
 Press ctrl+o to show full startup help and loaded resources.                                                                                            
                                                                                                                                                         
 Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.                                                                   


 Warning: No models available. Use /login to log into a provider via OAuth or API key. See:                                                              
   /node_modules/@mariozechner/pi-coding-agent/docs/providers.md                                                                                         
   /node_modules/@mariozechner/pi-coding-agent/docs/models.md                                                                                            

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
^C                                                                                                                                                       
nodepod:/home/user$ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
~
0.0%/0 (auto)    

For this TUI, you are supposed to press ctrl+c twice to actually exit, but in nodepod, you only press it once and the app closes alongside the cursor disappearing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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