aboutsummaryrefslogtreecommitdiff
path: root/src/cachehandler.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-02-17 15:54:53 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-02-17 09:24:05 +0100
commitb3c5c6fe82127d636c72ba662319ad9da548e329 (patch)
treed6774e397440c612627a0a7aae6bb8f3e2c85199 /src/cachehandler.cpp
parentb82ecad5462eec767e2e3216e9e96dfebf04f1cc (diff)
Fix: remove N-L from tab title. Also limit tab title length
0) when visiting for example, https://lists.orbitalfox.eu/archives/gemini/2020/000304.html the page title was getting a newline character in it (for some reason). This has now been fixed. 1) the tab title is now limited to 45 characters, until the string is chopped and an ellipsis (...) is appended. This limit was added to prevent pages with enormous titles from clogging up the tab bar. For this reason, the limit is quite high - users browing Gemini don't usually have that many tabs open (compared to the web), so i think we can get away with this high number.
Diffstat (limited to 'src/cachehandler.cpp')
0 files changed, 0 insertions, 0 deletions