question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Terminal input not working with ConPTY disabled

See original GitHub issue

Version: 1.0.130 Platform: win32 6.1.7601 Plugins: none

Whenever key is pressed in the terminal, app is throwing following exception:

events.js:292 Uncaught Error: This socket has been ended by the other party at Socket.writeAfterFIN [as write] (net.js:456) at WindowsTerminal._doWrite (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\@terminus-term\node-pty\lib\windowsTerminal.js:114) at WindowsTerminal._defer (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\@terminus-term\node-pty\lib\windowsTerminal.js:156) at WindowsTerminal._write (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\@terminus-term\node-pty\lib\windowsTerminal.js:111) at WindowsTerminal.Terminal.write (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\@terminus-term\node-pty\lib\terminal.js:81) at Session.write (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\builtin-plugins\terminus-terminal\dist\index.js:12988) at TerminalTabComponent.sendInput (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\builtin-plugins\terminus-terminal\dist\index.js:8736) at SafeSubscriber._next (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\builtin-plugins\terminus-terminal\dist\index.js:8964) at SafeSubscriber.__tryOrUnsub (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:205) at SafeSubscriber.next (C:\Users\xxx\AppData\Local\Programs\Terminus\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:143) Full_Debug.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Eugenycommented, Feb 1, 2021

See if enabling ConPTY under Settings -> Shell helps

0reactions
uluhonolulucommented, Feb 8, 2021

Windows Server 2016, no ConPTY version.

In addition to the socket error, I’m seeing this:

C:\Users\asmirnov\AppData\Local\Programs\Terminus\resources\builtin-plugins\terminus-core\dist\index.js:5724 [updater] Error: Can not find Squirrel
    at AutoUpdater.checkForUpdates (electron/js2c/browser_init.js:17:1405)
    at electron/js2c/browser_init.js:225:8560
    at IpcMainImpl.<anonymous> (electron/js2c/browser_init.js:225:4947)
    at IpcMainImpl.emit (events.js:315:20)
    at IpcMainImpl.EventEmitter.emit (domain.js:486:12)
    at Object.<anonymous> (electron/js2c/browser_init.js:161:10389)
    at Object.emit (events.js:315:20)
    at Object.apply [as emit] (domain.js:486:12)
    at Object.n.emit (C:\Users\asmirnov\AppData\Local\Programs\Terminus\resources\app.asar\dist\webpack:\terminus\node_modules\@sentry\electron\dist\main\integrations\electron.js:66:25)

Hope that helps!

P.S. Thank you for this wonderful program! I started to love command line after I started using it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code + zsh + ConPTY = input issues #364
I type in the VS Code integrated terminal. Always at the second letter after the prompt, the cursor seems to jump momentarily. Sometimes...
Read more >
Troubleshoot Terminal launch failures - Visual Studio Code
splitCwd - Controls the current working directory a split terminal starts with. terminal.integrated.windowsEnableConpty - Whether to use ConPTY for Windows ...
Read more >
Introducing the Windows Pseudo Console (ConPTY)
Windows spins-up and attaches a new ConHost instance. The cmd instance operates as it always has: Gathers input; Does work; Calls Console APIs ......
Read more >
How to disable the buffer of windows ConPTY? - Stack Overflow
Using ConPTY to spawn a python3 process. The python process read one line and output the line length. It should output 3001 ....
Read more >
What's the difference between a console, a terminal, and a ...
A shell is the program that the terminal sends user input to. ... Cygwin may let you run your bash shell scripts but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found