Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 62EED200C25 for ; Fri, 24 Feb 2017 10:13:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 616E1160B69; Fri, 24 Feb 2017 09:13:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AB7D2160B5C for ; Fri, 24 Feb 2017 10:13:18 +0100 (CET) Received: (qmail 85345 invoked by uid 500); 24 Feb 2017 09:13:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 85333 invoked by uid 99); 24 Feb 2017 09:13:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2017 09:13:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7E475C0092 for ; Fri, 24 Feb 2017 09:13:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dkRM2jvJ8kmy for ; Fri, 24 Feb 2017 09:13:16 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5A5DD5F5A5 for ; Fri, 24 Feb 2017 09:13:16 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4DACDE0A0D for ; Fri, 24 Feb 2017 09:12:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 68AEC2413C for ; Fri, 24 Feb 2017 09:12:44 +0000 (UTC) Date: Fri, 24 Feb 2017 09:12:44 +0000 (UTC) From: "Stefan Podkowinski (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-13189) Use prompt_toolkit in cqlsh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Feb 2017 09:13:19 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882283#comment-15882283 ] Stefan Podkowinski commented on CASSANDRA-13189: ------------------------------------------------ Just gave this a quick try have to say that this looks really nice. Much better than constantly having to hit tab to get suggestions without getting into your way. Thanks for contributing! :) > Use prompt_toolkit in cqlsh > --------------------------- > > Key: CASSANDRA-13189 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13189 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: Corentin Chary > Assignee: Corentin Chary > Priority: Minor > Attachments: cqlsh-prompt-tookit.png > > > prompt_toolkit is an alternative to readline (https://github.com/jonathanslenders/python-prompt-toolkit) and is used in a lot of software, including the upcomming version of ipython. > I'm working on an initial version that keeps compatibility with readline, which is available here: https://github.com/iksaif/cassandra/tree/prompt_toolkit > It's still missing tests and a few things, but I'm opening this for tracking and feedbacks. > !cqlsh-prompt-tookit.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.3.15#6346)