mirror of https://github.com/adamdruppe/arsd.git
windows broke build!
This commit is contained in:
parent
5db0da2abb
commit
295cbeead5
|
@ -1511,6 +1511,7 @@ struct RealTimeConsoleInput {
|
||||||
return InputEvent(UserInterruptionEvent());
|
return InputEvent(UserInterruptionEvent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version(Posix)
|
||||||
if(hangedUp) {
|
if(hangedUp) {
|
||||||
hangedUp = false;
|
hangedUp = false;
|
||||||
return InputEvent(HangupEvent());
|
return InputEvent(HangupEvent());
|
||||||
|
@ -2760,6 +2761,7 @@ class LineGetter {
|
||||||
switch(e.type) {
|
switch(e.type) {
|
||||||
case InputEvent.Type.EndOfFileEvent:
|
case InputEvent.Type.EndOfFileEvent:
|
||||||
justHitTab = false;
|
justHitTab = false;
|
||||||
|
// FIXME: this should be distinct from an empty line when hit at the beginning
|
||||||
return false;
|
return false;
|
||||||
//break;
|
//break;
|
||||||
case InputEvent.Type.CharacterEvent:
|
case InputEvent.Type.CharacterEvent:
|
||||||
|
|
Loading…
Reference in New Issue