NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4207


Ignore:
Timestamp:
Aug 5, 2009, 6:22:03 PM (8 years ago)
Author:
bless
Message:
  • added gist prompt
Location:
ntlp/branches/20081127-merge-mobility-mk3/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ntlp/branches/20081127-merge-mobility-mk3/src/GISTConsole.cpp

    r4147 r4207  
    137137
    138138GISTConsole::GISTConsole(const GISTConsoleParam& p)
    139     : Thread(p), param(p)
     139        : Thread(p), param(p), prompt("gist>")
    140140{
    141141        commands["usage"] = &GISTConsole::usage;
     
    274274                        out_buf += (char *)buf;
    275275                out_buf += "'\n";
    276                 out_buf += "# type ?<Return> for help.\n>";
     276                out_buf += "# type ?<Return> for help.\n";
     277                out_buf += prompt;
    277278
    278279                send();
     
    352353                        }
    353354                }
    354                 out_buf=">";
     355                out_buf=prompt;
    355356                send();
    356357
  • ntlp/branches/20081127-merge-mobility-mk3/src/GISTConsole.h

    r4147 r4207  
    5454        int sockfd, clientfd;
    5555
     56        string prompt;
     57
    5658        string out_buf, in_buf;
    5759        char buf[1024];
Note: See TracChangeset for help on using the changeset viewer.