Преглед на файлове

Terminal: Set original window title to "Terminal"

Don't rely on the shell setting the window title using escape sequences.
Andreas Kling преди 6 години
родител
ревизия
f196e2fcda
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      Applications/Terminal/main.cpp

+ 1 - 0
Applications/Terminal/main.cpp

@@ -89,6 +89,7 @@ int main(int argc, char** argv)
     make_shell(ptm_fd);
     make_shell(ptm_fd);
 
 
     auto* window = new GWindow;
     auto* window = new GWindow;
+    window->set_title("Terminal");
     window->set_background_color(Color::Black);
     window->set_background_color(Color::Black);
     window->set_double_buffering_enabled(false);
     window->set_double_buffering_enabled(false);
     window->set_should_exit_event_loop_on_close(true);
     window->set_should_exit_event_loop_on_close(true);