1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Use default cursor instead of arrow in mouse mode

This commit is contained in:
DarkDefender 2019-01-02 14:04:54 +01:00 committed by Christian Duerr
parent 7275ecc282
commit 9133f4d327
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Tabs are no longer replaced by spaces when copying them to the clipboard - Tabs are no longer replaced by spaces when copying them to the clipboard
- Alt modifier is no longer sent separately from the modified key - Alt modifier is no longer sent separately from the modified key
- Various Windows issues, like color support and performance, through the new ConPTY - Various Windows issues, like color support and performance, through the new ConPTY
- Fixed rendering non default mouse cursors in terminal mouse mode (linux)
## Version 0.2.4 ## Version 0.2.4

View file

@ -249,7 +249,7 @@ impl Window {
#[inline] #[inline]
pub fn set_mouse_cursor(&self, cursor: MouseCursor) { pub fn set_mouse_cursor(&self, cursor: MouseCursor) {
self.window.set_cursor(match cursor { self.window.set_cursor(match cursor {
MouseCursor::Arrow => GlutinMouseCursor::Arrow, MouseCursor::Arrow => GlutinMouseCursor::Default,
MouseCursor::Text => GlutinMouseCursor::Text, MouseCursor::Text => GlutinMouseCursor::Text,
}); });
} }