mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
Run: Store and present recent Run command history in a ComboBox.
We now store the last 25 inputs ran in Run in a simple text file under .config (~/.config/RunHistory.txt)
This commit is contained in:
parent
05914d2e9a
commit
bafb8b0be6
Notes:
sideshowbarker
2024-07-18 22:10:56 +09:00
Author: https://github.com/nvella
Commit: bafb8b0be6
Pull-request: https://github.com/SerenityOS/serenity/pull/5369
Reviewed-by: https://github.com/awesomekling
4 changed files with 61 additions and 9 deletions
|
@ -35,14 +35,14 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (pledge("stdio recvfd sendfd thread accept cpath rpath unix fattr proc exec", nullptr) < 0) {
|
||||
if (pledge("stdio recvfd sendfd thread accept cpath rpath wpath unix fattr proc exec", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
|
||||
if (pledge("stdio recvfd sendfd thread accept rpath unix proc exec", nullptr) < 0) {
|
||||
if (pledge("stdio recvfd sendfd thread accept cpath rpath wpath unix proc exec", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue