Skip to content
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

Change cursor shape on mode change #1154

Merged
merged 8 commits into from
Jan 23, 2022
Prev Previous commit
Next Next commit
Merge branch 'master' into cursor-shape-new
  • Loading branch information
sudormrfbin committed Dec 18, 2021
commit d4fb1d06333315a3c6e9dc7f0ad8055d91551e3a
3 changes: 3 additions & 0 deletions helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ pub struct Config {
pub file_picker: FilePickerConfig,
/// Shape for cursor in each mode
pub cursor_shape: CursorShapeConfig,
/// Set to `true` to override automatic detection of terminal truecolor support in the event of a false negative. Defaults to `false`.
pub true_color: bool,
}

// Cursor shape is read and used on every rendered frame and so needs
Expand Down Expand Up @@ -173,6 +175,7 @@ impl Default for Config {
auto_info: true,
file_picker: FilePickerConfig::default(),
cursor_shape: CursorShapeConfig::default(),
true_color: false,
}
}
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.