Output the actual tab id in its repr

This commit is contained in:
Kovid Goyal 2022-11-04 09:29:33 +05:30
parent a856c64104
commit d1eb9340ac
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -759,7 +759,7 @@ class Tab: # {{{
self.windows = WindowList(self)
def __repr__(self) -> str:
return f'Tab(title={self.effective_title}, id={hex(id(self))})'
return f'Tab(title={self.effective_title}, id={self.id})'
def make_active(self) -> None:
tm = self.tab_manager_ref()