mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Let lyxclient read the whole line of input.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8195cd1e2a
commit
82f1cb7463
@ -619,7 +619,7 @@ int main(int argc, char * argv[])
|
|||||||
iowatch.wait();
|
iowatch.wait();
|
||||||
if (iowatch.isset(0)) {
|
if (iowatch.isset(0)) {
|
||||||
string command;
|
string command;
|
||||||
cin >> command;
|
getline(cin, command);
|
||||||
if (command == "BYE:") {
|
if (command == "BYE:") {
|
||||||
server->writeln("BYE:");
|
server->writeln("BYE:");
|
||||||
saidbye = true;
|
saidbye = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user