Lines Matching defs:readline
79 The optional argument 'completekey' is the readline name of a
81 not None and the readline module is available, command completion
108 import readline
109 self.old_completer = readline.get_completer()
110 readline.set_completer(self.complete)
111 readline.parse_and_bind(self.completekey+": complete")
132 line = self.stdin.readline()
144 import readline
145 readline.set_completer(self.old_completer)
258 import readline
259 origline = readline.get_line_buffer()
262 begidx = readline.get_begidx() - stripped
263 endidx = readline.get_endidx() - stripped