gyscos / gyscos/cursive

[BUG] Blinking cursor at end of Dialog title after resize

Open
#647 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
4.8k
Forks
270
Avg merge
5d 19h
Merged PRs (30d)
2

Description

**Describe the bug**
Upon resizing the terminal window, a blinking cursor is visible at the end of a Dialog's title.

**To Reproduce**
Using: https://github.com/gyscos/cursive/blob/main/cursive/examples/dialog.rs

**Expected behavior**
The terminal would resize and the cursor would not be visible blinking, in the same way it was when the terminal window was first created when the program was run.

**Screenshots**
Before resizing:
![image](https://user-images.githubusercontent.com/97409490/162030978-c5a945ee-b22c-410b-a89d-0f899668e5d1.png)
After resizing:
![image](https://user-images.githubusercontent.com/97409490/162031195-989be3bc-f497-41d1-ba00-b93cbcad281a.png)
Note the grey blinking cursor at the end of the text 'Cursive'

**Environment**
* Operating system used: Windows 10
* Backend used: crossterm v0.23.2
* Cursive version: from git

**Additional**
Perhaps this is as a result of my terminal settings, although I did try to reset everything to default.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.