This commit is contained in:
neoshui 2023-07-28 12:29:03 -03:00 committed by GitHub
commit 2f806f03af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ class CTkTextbox(CTkBaseClass):
return self._textbox.insert(index, text, tags)
def get(self, index1, index2=None):
return self._textbox.get(index1, index2)
return self._textbox.get(index1, index2).replace('\n', '', -1)
def bbox(self, index):
return self._textbox.bbox(index)