branch: externals/realgud
commit b8b587be28e15b3a053482ff9848d4259e40f13d
Author: rocky <ro...@gnu.org>
Commit: rocky <ro...@gnu.org>
ipdb need ANSI schmutz removed...
And it looks like ipdb adds some new kind of ANSI schmutz
---
realgud/common/utils.el | 4 ++--
realgud/debugger/ipdb/track-mode.el | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/realgud/common/utils.el b/realgud/common/utils.el
index ff6106d..25629c8 100644
--- a/realgud/common/utils.el
+++ b/realgud/common/utils.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2016-2017 Free Software Foundation, Inc
+;; Copyright (C) 2016-2018 Free Software Foundation, Inc
;; Author: Rocky Bernstein <ro...@gnu.org>
@@ -60,7 +60,7 @@ prompts and interactive output with"
(add-to-list
'comint-preoutput-filter-functions
(lambda (output)
- (replace-regexp-in-string "\033\\[[0-9]*[GKJhl]" "" output)))
+ (replace-regexp-in-string "\033\\[[0-9]*[CDGKJhl]" "" output)))
)
diff --git a/realgud/debugger/ipdb/track-mode.el
b/realgud/debugger/ipdb/track-mode.el
index b723a07..3620326 100644
--- a/realgud/debugger/ipdb/track-mode.el
+++ b/realgud/debugger/ipdb/track-mode.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2016 Free Software Foundation, Inc
+;; Copyright (C) 2016, 2018 Free Software Foundation, Inc
;; Author: Rocky Bernstein <ro...@gnu.org>
;; Author: Sean Farley <s...@farley.io>
@@ -23,6 +23,7 @@
"../../common/menu"
"../../common/track"
"../../common/track-mode"
+ "../../common/utils"
)
"realgud-")
(require-relative-list '("core" "init") "realgud:ipdb-")
@@ -41,6 +42,7 @@
(if ipdb-track-mode
(progn
(use-local-map ipdb-track-mode-map)
+ (realgud:remove-ansi-schmutz)
(add-hook 'completion-at-point-functions
'realgud:ipdb-completion-at-point nil t)
(message "using ipdb mode map")