Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Windows 7 results in an error. #528

Open
HoodyHuo opened this issue May 28, 2024 · 1 comment
Open

Running on Windows 7 results in an error. #528

HoodyHuo opened this issue May 28, 2024 · 1 comment

Comments

@HoodyHuo
Copy link

HoodyHuo commented May 28, 2024

Describe the bug
I have written a TCP simulation testing tool using Bubbletea and Lipgloss. The tool runs normally on Windows 10, but when I compile and run it on Windows 7, an error occurs with the following error message:

error creating cancelreader: prepare console: set console mode: The parameter is incorrect.

try to build spinner demo ,and run it ,same error.
is it related to the ansi color escape codes in Windows 7?

Setup

  • OS Windows 7

  • Shell [cmd,powershell]

  • Terminal Emulator [none]

  • Terminal Multiplexer [none]

  • Locale [zh_CN.UTF-8]

  • GO version : 1.20.14

  • bubbles v0.18.0

  • bubblestea v0.25.0

  • lipgloss v.10.0

To Reproduce
Steps to reproduce the behavior:

  1. build spinner demo in windows 7
  2. run it on windows 7

Source Code
spinner demo

Expected behavior
run s normally on windos 7.

Screenshots
2024-05-28 160059

@Delta456
Copy link

Hi, this program won't work with Windows 7 cmd and powershell because it is severely outdated and cannot print the needed ANSI escape codes. ConEmu should work here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants