mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
HackStudio: Add new Terminals
This commit is contained in:
parent
12c7375cdd
commit
795067e08c
Notes:
sideshowbarker
2024-07-19 07:52:16 +09:00
Author: https://github.com/oriko1010
Commit: 795067e08c
Pull-request: https://github.com/SerenityOS/serenity/pull/1660
3 changed files with 55 additions and 5 deletions
|
@ -39,12 +39,16 @@ public:
|
|||
void run_command(const String&);
|
||||
void kill_running_command();
|
||||
|
||||
bool user_spawned() const { return m_user_spawned; }
|
||||
TerminalWidget* terminal() { return m_terminal_widget; }
|
||||
|
||||
Function<void()> on_command_exit;
|
||||
|
||||
private:
|
||||
explicit TerminalWrapper();
|
||||
explicit TerminalWrapper(bool user_spawned = true);
|
||||
|
||||
RefPtr<ProcessStateWidget> m_process_state_widget;
|
||||
RefPtr<TerminalWidget> m_terminal_widget;
|
||||
pid_t m_pid { -1 };
|
||||
bool m_user_spawned { true };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue