aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/textmessage.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-07 23:21:11 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-07 23:21:11 +0300
commite5db799fa30c5e3c7290d7ead07c84ada11087ac (patch)
tree536f231aa79c6736a0dc9e721bc51d77719deb12 /ui/messages/textmessage.go
parentb81ba7b631b5243bd61514db1787a3f9043990e0 (diff)
parent5d7c1a4caab46f7e981aed7b9cc825b7602b4098 (diff)
Merge branch 'deep-message-rendering'
Diffstat (limited to 'ui/messages/textmessage.go')
-rw-r--r--ui/messages/textmessage.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/messages/textmessage.go b/ui/messages/textmessage.go
index 8ce9482..6364659 100644
--- a/ui/messages/textmessage.go
+++ b/ui/messages/textmessage.go
@@ -90,8 +90,3 @@ func (msg *TextMessage) PlainText() string {
func (msg *TextMessage) CalculateBuffer(prefs config.UserPreferences, width int) {
msg.calculateBufferWithText(prefs, msg.getCache(), width)
}
-
-// RecalculateBuffer calculates the buffer again with the previously provided width.
-func (msg *TextMessage) RecalculateBuffer() {
- msg.CalculateBuffer(msg.prevPrefs, msg.prevBufferWidth)
-}