diff --git a/lib/tfw/components/history_monitor.py b/lib/tfw/components/history_monitor.py index cd68a09..a4ce76e 100644 --- a/lib/tfw/components/history_monitor.py +++ b/lib/tfw/components/history_monitor.py @@ -70,3 +70,9 @@ class BashMonitor(HistoryMonitor): def sanitize_command(self, command): return command.strip() + + +class GDBMonitor(HistoryMonitor): + @property + def command_pattern(self): + return r'(?<=\n)\+(.+)\n'