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
Data race on cursor.(*Model).BlinkCmd.func1 #909
Comments
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Jan 29, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Jan 29, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Jan 29, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Jan 29, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Jan 29, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Feb 16, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Feb 16, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Feb 22, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
3v1n0
added a commit
to 3v1n0/authd
that referenced
this issue
Feb 26, 2024
… mode It's causing events to happen that we don't really need in this case and also it's causing races. See: charmbracelet/bubbletea#909
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
In a test case where I'm sending events, I'm getting data races on blink commands
Source Code
Please include source code if needed to reproduce the behavior.
The previous write happened in the
func (m *UIModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
implementation of the main model where we haveSo basically writing to
m.userSelectionModel
.Trace
Workaround is to avoid blinking... So using
textinput.Model.Cursor.SetMode(cursor.CursorHide)
.The text was updated successfully, but these errors were encountered: