mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
Ladybird+LibWebView: Move console history tracking to ConsoleClient
This will allow other chromes to make use of history in their console implementations.
This commit is contained in:
parent
ed315dd950
commit
204a6f9241
6 changed files with 69 additions and 34 deletions
|
@ -141,7 +141,7 @@ static constexpr CGFloat const WINDOW_HEIGHT = 600;
|
|||
auto script = Ladybird::ns_string_to_string(ns_script);
|
||||
|
||||
if (!script.bytes_as_string_view().is_whitespace()) {
|
||||
m_console_client->execute(script);
|
||||
m_console_client->execute(move(script));
|
||||
[text_view setString:@""];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue