liveConsole 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {liveconsole-1.0.0/src/liveConsole.egg-info → liveconsole-1.0.1}/PKG-INFO +1 -1
- {liveconsole-1.0.0 → liveconsole-1.0.1}/pyproject.toml +1 -1
- {liveconsole-1.0.0 → liveconsole-1.0.1/src/liveConsole.egg-info}/PKG-INFO +1 -1
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/liveConsole.py +6 -2
- {liveconsole-1.0.0 → liveconsole-1.0.1}/LICENSE +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/README.md +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/setup.cfg +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/__init__.py +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/liveConsole.egg-info/SOURCES.txt +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/liveConsole.egg-info/dependency_links.txt +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/liveConsole.egg-info/requires.txt +0 -0
- {liveconsole-1.0.0 → liveconsole-1.0.1}/src/liveConsole.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "liveConsole"
|
3
|
-
version = "1.0.
|
3
|
+
version = "1.0.1"
|
4
4
|
description = "An IDLE-like debugger to allow for real-time command injection for debugging and testing python code"
|
5
5
|
authors = [{ name="Tzur Soffer", email="tzur.soffer@gmail.com" }]
|
6
6
|
license = {text = "MIT"}
|
@@ -320,6 +320,7 @@ class InteractiveConsoleText(tk.Text):
|
|
320
320
|
|
321
321
|
# Insert newline with proper indentation
|
322
322
|
self.insert("insert", "\n" + " " * base_indent)
|
323
|
+
self.mark_set("insert", "end")
|
323
324
|
return "break"
|
324
325
|
|
325
326
|
def on_enter(self, event):
|
@@ -346,6 +347,7 @@ class InteractiveConsoleText(tk.Text):
|
|
346
347
|
base_indent += 4
|
347
348
|
|
348
349
|
self.insert("insert", "\n" + " " * base_indent)
|
350
|
+
self.see("end")
|
349
351
|
return "break"
|
350
352
|
|
351
353
|
# Execute the complete command
|
@@ -356,10 +358,12 @@ class InteractiveConsoleText(tk.Text):
|
|
356
358
|
# Move to end and add newline for the executed command
|
357
359
|
self.mark_set("insert", "end")
|
358
360
|
self.insert("end", "\n")
|
359
|
-
|
361
|
+
self.see("end")
|
362
|
+
|
360
363
|
# Execute the command in a thread to prevent freezing
|
361
364
|
threading.Thread(target=self.execute_command_and_add_prompt, args=(command,), daemon=True).start()
|
362
|
-
|
365
|
+
# self.see("end")
|
366
|
+
|
363
367
|
return "break"
|
364
368
|
|
365
369
|
def highlight_current_line(self):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|