Commit 8472a37b6b1b92af8b65ab83ae3f886f38ba0554

Authored by Perry Werneck
1 parent 433436b4
Exists in master and in 1 other branch develop

Adding method to search in the terminal buffer.

client/ipcclient.cbp
... ... @@ -40,7 +40,6 @@
40 40 <Linker>
41 41 <Add option="`pkg-config --libs lib3270`" />
42 42 </Linker>
43   - <Unit filename="../common/src/include/lib3270/ipc.h" />
44 43 <Unit filename="../include/config.h.in" />
45 44 <Unit filename="src/core/abstract.cc" />
46 45 <Unit filename="src/core/constants.cc" />
... ...
client/src/include/lib3270/ipc.h
... ... @@ -641,6 +641,11 @@
641 641 return *this;
642 642 }
643 643  
  644 + /// @brief Search
  645 + inline size_t find(const char * str, size_t pos = 0) const {
  646 + return session->find(str,pos);
  647 + }
  648 +
644 649 // Set contents.
645 650  
646 651 /// @brief Input string.
... ...