<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_extra"><div class="gmail_quote">On 19 July 2016 at 18:01, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><div class="gmail_quote">On 19 July 2016 at 17:58, Carl Smith <span dir="ltr"><<a href="mailto:carl.input@gmail.com" target="_blank">carl.input@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="color:rgb(115,115,115);line-height:18px"><font face="monospace, monospace" size="1"><div style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68);display:inline"></div></font></span></div><div dir="ltr"><div style="display:inline"><font color="#444444" face="monospace, monospace"><span style="line-height:18px">The documented APIs for the inaccessible PT features involve passing stuff to their `parse` method, using named args, but there's no obvious way to attach the same stuff to a running instance. Any ideas would be appreciated. As a concrete example, how would an IPython user add a bottom toolbar:</span></font></div></div></blockquote></div><br></div></span><div class="gmail_extra">I think that's something we'd need to expose. I'm planning to investigate adding a bottom toolbar for IPython 6.<br></div></div>
</blockquote></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Cool. It'd be nice if there was a way to define some of this stuff on a running instance, instead of you guys having to push each feature by hand, but I'm just being impatient really. Each new feature will need properly integrating into IPython anyway.</div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">On keys for the editor feature, users can do `from prompt_toolkit.keys import Keys`, then use stuff like `Keys.ControlV` easily. The PT API would make it pretty simple to take a user's Key subclass and set up their shortcut. I think only do it once per session though, like any event handler.</div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Best, and thanks again Thomas. You do an awesome job with the Python community.</div><br></div></div>