Skip to content

Commit 64824c4

Browse files
committed
Bug Fix: reload was tagged Anywhere
1 parent 80f96ba commit 64824c4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
__pycache__
2+
.ruff_cache
23
.venv
34
.vscode
45
*.bak
56
settings_details_outdated.txt
67
test*.sp
7-
test*.dat
8+
test*.dat

main.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# pylint: disable=W0603
1616
# pylint: disable=W0123
1717

18-
1918
class TagError(Exception): ...
2019
class FileExtensionError(Exception): ...
2120
class SupaplexStructureError(Exception): ...
@@ -975,8 +974,9 @@ def quit_level_editor() -> screen.Context:
975974
screen.Command('exit', [], quit_app),
976975
screen.Command('leave', [], quit_app),
977976
screen.Command('logout', [], quit_app),
978-
screen.Command('reload', [], reload_current_screen),
979-
screen.Command('rl', [], reload_current_screen),
977+
# [!!] bug fix: reload was incorrectly marked as an Anywhere command
978+
# /-/ screen.Command('reload', [], reload_current_screen),
979+
# /-/ screen.Command('rl', [], reload_current_screen),
980980
screen.Command('web', [], open_repository_on_browser),
981981
screen.Command('repo', [], open_repository_on_browser),
982982
screen.Command('help', [], get_help),
@@ -1045,8 +1045,9 @@ def quit_level_editor() -> screen.Context:
10451045
screen.Command('exit', [], quit_level_editor),
10461046
screen.Command('leave', [], quit_level_editor),
10471047
screen.Command('q', [], quit_level_editor),
1048-
screen.Command('reload', [], reload_current_screen),
1049-
screen.Command('rl', [], reload_current_screen),
1048+
# [!!] bug fix: reload was incorrectly marked as an Anywhere command
1049+
# /-/ screen.Command('reload', [], reload_current_screen),
1050+
# /-/ screen.Command('rl', [], reload_current_screen),
10501051
screen.Command('help', [], get_help),
10511052
screen.Command('imlost', [], get_help)
10521053
]

0 commit comments

Comments
 (0)