karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi <ravisekhar...@motivitylabs.com>
Subject Re: Using karaf 4.2.2, From PUTTY console, After entering characters, inconsistency while reading characters.
Date Mon, 29 Apr 2019 11:28:30 GMT
Thank you for reply.

It means that you have your own command, right ?
YES

Do you use regular command arguments or is it a custom Action using directly
the session ?
It is a custom Action using directly the session.

@Override
public Object execute(CommandSession session) throws Exception {
session.getConsole().printf("Do you wish to continue? (y/n):"); 
session.getConsole().flush(); 
boolean result = getYesNoSelection(session);
....
}



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
View raw message