\v and \f are have the same behaviour of \n.
This commit is contained in:
		
							
								
								
									
										2
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
									
									
									
									
								
							@ -1168,6 +1168,8 @@ tputc(char c) {
 | 
				
			|||||||
		case '\r':
 | 
							case '\r':
 | 
				
			||||||
			tmoveto(0, term.c.y);
 | 
								tmoveto(0, term.c.y);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
 | 
							case '\f':
 | 
				
			||||||
 | 
							case '\v':
 | 
				
			||||||
		case '\n':
 | 
							case '\n':
 | 
				
			||||||
			/* go to first col if the mode is set */
 | 
								/* go to first col if the mode is set */
 | 
				
			||||||
			tnewline(IS_SET(MODE_CRLF));
 | 
								tnewline(IS_SET(MODE_CRLF));
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user