We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using a line cursor shape, disable blinking does not work in Konsole.
To Reproduce Compile and run this minimal example using Konsole:
use crossterm::{cursor, event, execute, style, terminal}; use std::io::{stdout, Write}; fn main() -> Result<(), std::io::Error> { execute!( stdout(), terminal::EnterAlternateScreen, style::ResetColor, cursor::MoveTo(0, 0) )?; stdout().flush()?; terminal::enable_raw_mode()?; execute!( stdout(), cursor::SetCursorShape(cursor::CursorShape::Line), cursor::DisableBlinking, )?; loop { if let event::Event::Key(event::KeyEvent { code, .. }) = event::read()? { if code == event::KeyCode::Char('q') { break; } } } terminal::disable_raw_mode()?; execute!(stdout(), terminal::LeaveAlternateScreen, style::ResetColor)?; Ok(()) }
Expected behavior The cursor shows up as a line and does not blink.
OS
Terminal/Console
The text was updated successfully, but these errors were encountered:
Related: #650
Sorry, something went wrong.
Fixed by: #742
No branches or pull requests
Describe the bug
When using a line cursor shape, disable blinking does not work in Konsole.
To Reproduce
Compile and run this minimal example using Konsole:
Expected behavior
The cursor shows up as a line and does not blink.
OS
Terminal/Console
The text was updated successfully, but these errors were encountered: