Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Reproduction repository for the custom prompt bug in node-pty

Notifications You must be signed in to change notification settings

dj-256/node-pty-custom-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-pty-custom-prompt

Reproduction repository for the custom prompt bug in node-pty

The bug I'm trying to illustrate here is that, with a custom prompt, xterm and node-pty produce a weird behavior by default. To build the reproduction app, you can run docker compose up -d. The application will launch on port 3001.

Then, try typing a very long command, you will see your current line being overwritten when you exceed a certain number of characters. If you now comment the custom prompt line (l5 of back/Dockerfile, don't forget to remove the backward slash on l4), rebuild and run the app with docker compose up --build -d, you'll see that everything works fine.

About

Reproduction repository for the custom prompt bug in node-pty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published