Changing the way how paste is handled, just for the nano people.
This commit is contained in:
		
							
								
								
									
										2
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
									
									
									
									
								
							@ -796,7 +796,7 @@ selcopy(void) {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			/* \n at the end of every selected line except for the last one */
 | 
								/* \n at the end of every selected line except for the last one */
 | 
				
			||||||
			if(is_selected && y < sel.e.y)
 | 
								if(is_selected && y < sel.e.y)
 | 
				
			||||||
				*ptr++ = '\n';
 | 
									*ptr++ = '\r';
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		*ptr = 0;
 | 
							*ptr = 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user