You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to achieve such begaviour that the prompt line is always located at the most bottom line of the console. This behaviour works as long as only one thread reads and writes to the console, however, whenever one thread is reading and another one tries to write to the console, the prompt line goes blank, even though I'm trying to reset it after writing (see methods like 'stashLine' and 'unstashLine' in provided source code).
I'm using Java 8 on Windows 7 alongside with JLine version 2.13. I've also tried JLine versions 2.7 and 2.12 where the same issue was reproduced.
The text was updated successfully, but these errors were encountered:
I am trying to write to a console and read from it asynchronously using jline.console.ConsoleReader#print and jline.console.ConsoleReader#readLine methods.
Every write to the console is handlet by following instructions:
while every read from a console is handled in separate thread using:
I would like to achieve such begaviour that the prompt line is always located at the most bottom line of the console. This behaviour works as long as only one thread reads and writes to the console, however, whenever one thread is reading and another one tries to write to the console, the prompt line goes blank, even though I'm trying to reset it after writing (see methods like 'stashLine' and 'unstashLine' in provided source code).
I'm using Java 8 on Windows 7 alongside with JLine version 2.13. I've also tried JLine versions 2.7 and 2.12 where the same issue was reproduced.
The text was updated successfully, but these errors were encountered: