Started working on the search feature, only ui wise working so far

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
Allow 1 byte less in the buffer as we need that last byte for the '\0'

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>