Skip to content

suggestion - separate CR from NL on input #703

@mckellygit

Description

@mckellygit

Thank you for less.
I will suggest a change so that I can differentiate M-C-m / M-Return from M-C-j ...

  static void set_termio_flags(
  #if HAVE_TERMIOS_H && HAVE_TERMIOS_FUNCS
      struct termios *s
  #else
      struct termio *s
  #endif
      )
  {
+     // so we get M-C-m (M-Return) different than M-C-j
+     s->c_iflag &= ~ICRNL;
+

If you would consider such a change I can create a PR.

thx,
-m

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions