Skip to content
Snippets Groups Projects
Commit c1ce8cf7 authored by Axel Naumann's avatar Axel Naumann
Browse files

Merge r39595 from cling:

Reset the modifier before reading new input.
Fixes problem in cling where backspace would disable further input.


git-svn-id: http://root.cern.ch/svn/root/trunk@39596 27541ba8-7e3a-0410-8455-c3a389f83636
parent 0b159223
No related branches found
No related tags found
No related merge requests found
...@@ -228,6 +228,7 @@ namespace textinput { ...@@ -228,6 +228,7 @@ namespace textinput {
bool bool
StreamReaderUnix::ReadInput(size_t& nRead, InputData& in) { StreamReaderUnix::ReadInput(size_t& nRead, InputData& in) {
int c = ReadRawCharacter(); int c = ReadRawCharacter();
in.SetModifier(InputData::kModNone);
if (c == -1) { if (c == -1) {
in.SetExtended(InputData::kEIEOF); in.SetExtended(InputData::kEIEOF);
} else if (c == 0x1b) { } else if (c == 0x1b) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment