Skip to content

idea: restore command history #1

Description

@jsbain
[str(h) for h in UIApplication.sharedApplication().keyWindow().rootViewController().accessoryViewController().consoleViewController().history()]

exposes the current console command history as a list of strings. This can also be set via

UIApplication.sharedApplication().keyWindow().rootViewController().accessoryViewController().consoleViewController().history=['test','ing']

is it possible to enable a stdin hook which stores history to a file, which is then restored on reload? or perhaps an atexit which reads and stores current history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions