mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	feat: make right arrow insert hint text if any is available
This commit is contained in:
		
							parent
							
								
									e6b88816fd
								
							
						
					
					
						commit
						a59394ec2b
					
				@ -707,6 +707,11 @@ func (rl *Instance) escapeSeq(r []rune) {
 | 
				
			|||||||
			rl.renderHelpers()
 | 
								rl.renderHelpers()
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							if len(rl.hintText) != 0 {
 | 
				
			||||||
 | 
								// fill in hint text
 | 
				
			||||||
 | 
								rl.insert(rl.hintText)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		if (rl.modeViMode == VimInsert && rl.pos < len(rl.line)) ||
 | 
							if (rl.modeViMode == VimInsert && rl.pos < len(rl.line)) ||
 | 
				
			||||||
			(rl.modeViMode != VimInsert && rl.pos < len(rl.line)-1) {
 | 
								(rl.modeViMode != VimInsert && rl.pos < len(rl.line)-1) {
 | 
				
			||||||
			rl.moveCursorByAdjust(1)
 | 
								rl.moveCursorByAdjust(1)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user