mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:27:59 +01:00
Integrate sanitizer with host UI, sanitize at shutdown support, and control which items are sanitized when more thoroughly. Closes issue #70.
This commit is contained in:
@@ -1690,6 +1690,7 @@ const CommandLine = Module("commandline", {
|
||||
sanitizer: function () {
|
||||
sanitizer.addItem("commandline", {
|
||||
description: "Command-line and search history",
|
||||
persistent: true,
|
||||
action: function (timespan, host) {
|
||||
if (!host)
|
||||
storage["history-search"].mutate("filter", function (item) !timespan.contains(item.timestamp));
|
||||
|
||||
Reference in New Issue
Block a user