public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/28535] New: Consider exposing some readline() acces to the python API
@ 2021-11-03 14:35 plasmahh at gmx dot net
  0 siblings, 0 replies; only message in thread
From: plasmahh at gmx dot net @ 2021-11-03 14:35 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28535

            Bug ID: 28535
           Summary: Consider exposing some readline() acces to the python
                    API
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: plasmahh at gmx dot net
  Target Milestone: ---

For writing plugins and especially replacing the search functionality it would
be great if some way to interact with readline is built into the python API.

Things that would help me there are:

- be called when ctrl-r is pressed (instead of the readline search)
- give back a string to readline to fill into the prompt

Note that the completion is not enough here since I would like to do history
search for the whole command line, not just completion for own commands.

Additionally it would be nice if one could easier access the readline history
than to repeatedly call "show command"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-03 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 14:35 [Bug python/28535] New: Consider exposing some readline() acces to the python API plasmahh at gmx dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).