charmbracelet / charmbracelet/bubbles
Running on Windows 7 results in an error.
- Dominant language
- Go
- Stars
- 8.9k
- Forks
- 457
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 5
Description
**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 ](https://github.com/charmbracelet/bubbletea/blob/master/examples/spinner/main.go) ,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 ](https://github.com/charmbracelet/bubbletea/blob/master/examples/spinner/main.go) in windows 7
2. run it on windows 7
**Source Code**
[spinner demo ](https://github.com/charmbracelet/bubbletea/blob/master/examples/spinner/main.go)
**Expected behavior**
run s normally on windos 7.
**Screenshots**

Contributor guide
Assessment
This issue has not been assessed yet.