Improve console behaviour
This commit is contained in:
@@ -249,7 +249,7 @@ bool GlobalCommand(Event event) {
|
||||
if (event.ctrl && Mouse(RIGHT)) {
|
||||
GoBackToLastCrumb();
|
||||
} else if (event.alt && Mouse(RIGHT)) {
|
||||
ToggleConsole();
|
||||
// ToggleConsole();
|
||||
}
|
||||
|
||||
// @todo: maybe move some of this stuff to window command ???
|
||||
|
||||
@@ -905,7 +905,7 @@ void WindowCommand(Event event, Window *window, View *view) {
|
||||
if (Ctrl(SDLK_W)) {
|
||||
GoBackToLastCrumb();
|
||||
} else if (Alt(SDLK_W)) {
|
||||
ToggleConsole();
|
||||
// ToggleConsole();
|
||||
}
|
||||
|
||||
if (Mouse(MIDDLE)) {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
- prevent lua from infinite looping
|
||||
- Append to console and change console directory
|
||||
- hotkey to select window title
|
||||
- the 'invisible when inactive' flag does it apply to title bar windows??
|
||||
|
||||
- search as a command to execute which is going to be in the title bar
|
||||
- search backwards
|
||||
|
||||
@@ -152,6 +152,8 @@ void InitWindows() {
|
||||
WindowID window_id = window->id;
|
||||
ConsoleWindowID = window_id;
|
||||
|
||||
window->invisible_when_inactive = true;
|
||||
window->deactivate_on_escape = true;
|
||||
window->absolute_position = true;
|
||||
window->dont_save_in_active_window_history = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user