jline / jline2

Jline 2.x
http://jline.github.com/jline2/
Other
713 stars 181 forks source link

Get rid of stty system calls by using native calls #197

Open gnodet opened 9 years ago

gnodet commented 9 years ago

We're just missing a few native methods and it would be much faster.

jdillon commented 9 years ago

which native methods?

gnodet commented 9 years ago

Functions: tcgetattr, tcsetattr and ioctl Structs: winsize and termios

Those are the only three methods needed to implement stty,

I have already prototyped then needed JNI methods in jansi,

jdillon commented 9 years ago

@gnodet cool beans