nonstop/termit — pull request #47 by yeban (2012-04-28 08:29:47+00:00)
Title: api: add lastTabIndex() which return the index of the last tab

Index of the last tab is also the same as the total number of tabs.

Signed-off-by: Anurag Priyam

---

An intended use case is to be able to display index of the focused tab out of total in the window title, like:

[1/6]: /home/yeban/src/termit