cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.31k stars 71 forks source link

Issue running the next command after terminating a command in cosh #963

Closed kkoreilly closed 3 weeks ago

kkoreilly commented 1 month ago

Describe the bug

When you terminate a command in cosh, the next command does not work correctly.

How to reproduce

  1. Run cat
  2. Press Control+C
  3. Run ls (it will not run)
  4. Press Enter again (now it will run)

Example code

No response

Relevant output

No response

Platform

macOS

kkoreilly commented 1 month ago

This issue still happens sometimes.

kkoreilly commented 1 month ago

I finally figured out a way to reliably reproduce this again (there may also still be issues other than the one this reproduces):

  1. Run git commit "
  2. Run ls
kkoreilly commented 1 month ago

This also reproduces this issue:

  1. Run core run in demo
  2. Press Control+C
  3. Run ls (it will not run)
  4. Press Enter again (now it will run)