aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-25 19:00:54 -0500
committerHenrique <typoon@gmail.com>2019-11-25 19:00:54 -0500
commitb3b069f4680cbb7675d0d3d7cd738f55b5f48275 (patch)
tree2f8aa7835d88bedec2ee87d5f3b5d9af5bc8d1a5 /mitmproxy
parent8449db103ea8a8514d9c1b94ddb197efee689240 (diff)
downloadmitmproxy-b3b069f4680cbb7675d0d3d7cd738f55b5f48275.tar.gz
mitmproxy-b3b069f4680cbb7675d0d3d7cd738f55b5f48275.tar.bz2
mitmproxy-b3b069f4680cbb7675d0d3d7cd738f55b5f48275.zip
Remove blank line
Diffstat (limited to 'mitmproxy')
-rw-r--r--mitmproxy/tools/console/commander/commander.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/commander/commander.py b/mitmproxy/tools/console/commander/commander.py
index 46c1cb96..02eda3bf 100644
--- a/mitmproxy/tools/console/commander/commander.py
+++ b/mitmproxy/tools/console/commander/commander.py
@@ -232,7 +232,6 @@ class CommandEdit(urwid.WidgetWrap):
txt_before = self.cbuf.text[0:pos]
new_text = f"{txt_before} {txt_after}"
cursor_pos = prev_cursor - (prev_cursor - pos) + 1
-
self.cbuf.set_text(new_text)
self.cbuf.cursor = cursor_pos
elif key == "backspace":