Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Jan 4, 2017

Fixes #452


Testing done:

  1. Launch demo
  2. In dev tools term.setOption('disableStdin', true);
  3. Check input doesn't work but scrolling does
  4. In dev tools term.setOption('disableStdin', false);
  5. Check everything works

@parisk
Copy link
Contributor

parisk commented Jan 8, 2017

Isn't this something that can be easily implemented by the consumer app, by using the attachCustomKeydownHandler method?

@Tyriar
Copy link
Member Author

Tyriar commented Jan 9, 2017

Mouse input is also stdin, check references to Terminal.send.

@parisk
Copy link
Contributor

parisk commented Jan 9, 2017

That's right 👍

Copy link
Contributor

@parisk parisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tyriar Tyriar merged commit 27a7f15 into xtermjs:master Jan 9, 2017
@Tyriar Tyriar deleted the 452_disable_stdin_option branch January 9, 2017 17:53
@Tyriar Tyriar modified the milestone: 2.3.0 Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants