Clear sent text

* add UTF8 code to only clear to ^r in Tx buffer
    - allows user to enter text with multiple ^r entries
      in a single text buffer
pull/1/head
David Freese 2012-03-18 18:36:49 -05:00
rodzic 1abbedf2e9
commit 39edf75c20
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -890,7 +890,8 @@ void FTextTX::clear(void)
///
void FTextTX::clear_sent(void)
{
clear();
tbuf->remove(0, utf8_txpos);
sbuf->remove(0, utf8_txpos);
txpos = 0;
utf8_txpos = 0;
bkspaces = 0;