summaryrefslogtreecommitdiff
path: root/src/textbuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textbuf.cpp')
-rw-r--r--src/textbuf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textbuf.cpp b/src/textbuf.cpp
index 9b9eb2d6a..457388db7 100644
--- a/src/textbuf.cpp
+++ b/src/textbuf.cpp
@@ -364,6 +364,7 @@ Textbuf::Textbuf(uint16 max_bytes, uint16 max_chars)
assert(max_bytes != 0);
assert(max_chars != 0);
+ this->afilter = CS_ALPHANUMERAL;
this->max_bytes = max_bytes;
this->max_chars = max_chars == UINT16_MAX ? max_bytes : max_chars;
this->caret = true;