Changeset ce862ac in mainline for uspace/app/terminal/main.c


Ignore:
Timestamp:
2021-11-02T18:49:52Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b48e680f
Parents:
24c452b3
Message:

Terminate terminal if the child task has terminated

Try saying that three times quickly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/main.c

    r24c452b3 rce862ac  
    3333 */
    3434
     35#include <ui/ui.h>
    3536#include <stdio.h>
    36 #include <task.h>
    37 #include <ui/ui.h>
    3837#include "terminal.h"
    3938
     
    9897                return 1;
    9998
    100         task_retval(0);
    101         async_manager();
     99        ui_run(terminal->ui);
     100
     101        terminal_destroy(terminal);
    102102        return 0;
    103103}
Note: See TracChangeset for help on using the changeset viewer.