widget: remove debug panic

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2022-01-13 13:03:20 +01:00
parent 456f22c986
commit abd8c2c9a3
-3
View File
@@ -146,9 +146,6 @@ func (e *editBuffer) Read(p []byte) (int, error) {
total += n
e.pos += n
}
if e.pos > e.len() {
panic("hey!")
}
return total, nil
}