diff --git a/src/fterm.cpp b/src/fterm.cpp index 99ae5616..fc44b30f 100644 --- a/src/fterm.cpp +++ b/src/fterm.cpp @@ -1117,7 +1117,12 @@ FTerm::defaultPutChar& FTerm::putchar() //---------------------------------------------------------------------- void FTerm::putstring (const std::string& str, int affcnt) { - FTermcap::paddingPrint (str, affcnt, FTerm::putchar_ASCII); + auto status = FTermcap::paddingPrint (str, affcnt, FTerm::putchar_ASCII); + + if ( status == FTermcap::Status::Error ) + { + // Possible error handling + } } //----------------------------------------------------------------------