Skip to content

Shift/Ctrl + Enter returns modifiers::NONE #669

@Araxeus

Description

@Araxeus

Describe the bug
Ctrl + Enter = modifiers::NONE
Shift + Enter = modifiers::NONE

Alt + Enter = modifiers::ALT

To Reproduce

use crossterm::{event::read, terminal};

fn main() {
	terminal::enable_raw_mode();
	let res = read().unwrap();
	terminal::disable_rawmode();
	println!("{:#?}", res);
}

OS

  • Ubuntu 21.10

Terminal/Console

  • gnome-terminal

I couldn't test on Mac, but on Windows - all modifiers are returned just fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions