mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-06-26 10:54:29 +02:00
libshared: Integrated
This commit is contained in:
parent
7d78b9440b
commit
22c42f9de3
27 changed files with 117 additions and 3430 deletions
|
@ -31,7 +31,7 @@
|
|||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <i18n.h>
|
||||
#include <text.h>
|
||||
#include <shared.h>
|
||||
|
||||
#ifdef HAVE_READLINE
|
||||
#include <readline/readline.h>
|
||||
|
@ -105,8 +105,7 @@ static int commandLoop ()
|
|||
int status = 0;
|
||||
if (command != "")
|
||||
{
|
||||
std::vector <std::string> args;
|
||||
split (args, command, ' ');
|
||||
std::vector <std::string> args = split (command, ' ');
|
||||
|
||||
// Dispatch command.
|
||||
if (closeEnough ("exit", args[0], 3)) status = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue