@Override
	public Object display( IConnection connection ) {

		connection.write( "\n" + message + " (" );
		String s = "";
		for (Option current : options) {
			s += current.shortcut + ": " + current.text + ", ";
		}
		
		connection.write( s.substring( 0, s.length() - 2) + ")" );
		
		boolean found = false;
		Object result = null;
		
		while ( !found ) {
			
			connection.write( "\n> " );
			
			String input = connection.read();
			
			if ( input == null || input.isEmpty() )
				continue;
			
			Option selection = null;
			for (Option current : options) {
				if ( current.shortcut == input.charAt( 0 ) ) {
					selection = current;
					break;
				}
			}
			
			if ( selection == null ) {
				connection.write( "\nEnter one of the shortcuts!" );
			} else {
				found = true;
				result = selection.value;
			}
			
		}
		
		return result;
	}