Replace deprecated :buffer by :tab-select
This commit is contained in:
		
							parent
							
								
									17542f36d4
								
							
						
					
					
						commit
						685c98a47d
					
				
							
								
								
									
										4
									
								
								qb
								
								
								
								
							
							
						
						
									
										4
									
								
								qb
								
								
								
								
							|  | @ -276,7 +276,7 @@ goto_url() {                                                    # {{{ | |||
| 	debug_message "goto_url − \ | ||||
| Manage ${RED}${url}${COLOR_DEBUG} URL" | ||||
| 
 | ||||
| 	## Go to an existent buffer with the expected URL | ||||
| 	## Go to an existent tab with the expected URL | ||||
| 	### Or open the URL in a new buffer | ||||
| 	is_url_in_buffer \ | ||||
| 		|| open_in_qutebrowser | ||||
|  | @ -288,7 +288,7 @@ switch_qutebrowser_buffer() {                                   # {{{ | |||
| 	debug_message "switch_qutebrowser_buffer − \ | ||||
| Try to switch to buffer id: ${buffer_id}." | ||||
| 
 | ||||
| 	echo "{\"args\":[\":buffer ${buffer_id}\"], \"target_arg\":\"\", \"protocol_version\":1}" |\ | ||||
| 	echo "{\"args\":[\":tab-select ${buffer_id}\"], \"target_arg\":\"\", \"protocol_version\":1}" |\ | ||||
| 		socat - UNIX-CONNECT:"${QUTEBROWSER_SOCKET_FILE}" | ||||
| 
 | ||||
| 	## Ensure to focus on expected buffer | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue