@@ -53,9 +53,9 @@ struct ContentView: View {
5353 let item = filteredItems [ selectedIndex] . window
5454 let title = item. title. isEmpty ? item. ownerName : item. title
5555 let announcement : String
56- if item. isTerminalTab {
56+ if item. isTab {
5757 let tabPrefix : String
58- if let tabIndex = item. terminalTabIndex {
58+ if let tabIndex = item. tabIndex {
5959 tabPrefix = " tab \( tabIndex) "
6060 } else {
6161 tabPrefix = " tab "
@@ -309,12 +309,12 @@ struct WindowRow: View {
309309 var accessibilityDescription : String {
310310 let title = window. title. isEmpty ? window. ownerName : window. title
311311 let app = window. title. isEmpty ? " " : " , \( window. ownerName) "
312- let role = window. isTerminalTab ? " Tab " : " Window "
312+ let role = window. isTab ? " Tab " : " Window "
313313 let position = " \( role) \( index) of \( total) "
314314 let state = isSelected ? " , selected " : " "
315- if window. isTerminalTab {
315+ if window. isTab {
316316 let tabPrefix : String
317- if let tabIndex = window. terminalTabIndex {
317+ if let tabIndex = window. tabIndex {
318318 tabPrefix = " tab \( tabIndex) "
319319 } else {
320320 tabPrefix = " tab "
@@ -337,7 +337,7 @@ struct WindowRow: View {
337337
338338 VStack ( alignment: . leading, spacing: 2 ) {
339339 HStack ( spacing: 8 ) {
340- if window. isTerminalTab {
340+ if window. isTab {
341341 Text ( " TAB " )
342342 . font ( . system( size: 10 , weight: . semibold) )
343343 . foregroundColor ( . accentColor)
@@ -371,7 +371,7 @@ struct WindowRow: View {
371371 . cornerRadius ( 4 )
372372 . accessibilityElement ( children: . combine)
373373 . accessibilityLabel ( accessibilityDescription)
374- . accessibilityHint ( window. isTerminalTab ? " Press Enter to switch to this tab " : " Press Enter to switch to this window " )
374+ . accessibilityHint ( window. isTab ? " Press Enter to switch to this tab " : " Press Enter to switch to this window " )
375375 . accessibilityAddTraits ( isSelected ? [ . isSelected, . isButton] : [ . isButton] )
376376 }
377377}
0 commit comments