Skip to content

Commit

Permalink
Fixed the debug_vt100_input tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders committed Jan 27, 2018
1 parent 27d486b commit b998a14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/debug_vt100_input.py
Expand Up @@ -6,7 +6,8 @@
from __future__ import unicode_literals
import sys

from prompt_toolkit.terminal.vt100_input import InputStream, raw_mode
from prompt_toolkit.input.vt100 import raw_mode
from prompt_toolkit.input.vt100_parser import Vt100Parser
from prompt_toolkit.keys import Keys


Expand All @@ -18,7 +19,7 @@ def callback(key_press):


def main():
stream = InputStream(callback)
stream = Vt100Parser(callback)

with raw_mode(sys.stdin.fileno()):
while True:
Expand Down

0 comments on commit b998a14

Please sign in to comment.