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