jline is a java library that implements simple command line editing by sending control characters to the terminal attached to it's input/output objects. Here the attached terminal would be vte talking to reader/writer objects.