Compare commits
	
		
			3 Commits
		
	
	
		
			267598643a
			...
			v1.1.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						ee5c41b2bf
	
				 | 
					
					
						|||
| 
						
						
							
						
						9a67e076a9
	
				 | 
					
					
						|||
| 
						
						
							
						
						53fbb3dec1
	
				 | 
					
					
						
@@ -1,5 +1,5 @@
 | 
				
			|||||||
cmake_minimum_required (VERSION 3.0)
 | 
					cmake_minimum_required (VERSION 3.0)
 | 
				
			||||||
project (nncmpp VERSION 1.0.0 LANGUAGES C)
 | 
					project (nncmpp VERSION 1.1.0 LANGUAGES C)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Moar warnings
 | 
					# Moar warnings
 | 
				
			||||||
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
 | 
					if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								NEWS
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
				
			|||||||
1.1.0 (20xx-xx-xx)
 | 
					1.1.0 (2021-10-21)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 * Now requesting and processing terminal de/focus events,
 | 
					 * Now requesting and processing terminal de/focus events,
 | 
				
			||||||
   using a new "defocused" attribute for selected rows
 | 
					   using a new "defocused" attribute for selected rows
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,7 +31,7 @@ Building
 | 
				
			|||||||
--------
 | 
					--------
 | 
				
			||||||
Build dependencies: CMake, pkg-config, asciidoctor, liberty (included),
 | 
					Build dependencies: CMake, pkg-config, asciidoctor, liberty (included),
 | 
				
			||||||
                    termo (included) +
 | 
					                    termo (included) +
 | 
				
			||||||
Runtime dependencies: ncursesw, libunistring, cURL
 | 
					Runtime dependencies: ncursesw, libunistring, cURL, fftw3 (optional)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 $ git clone --recursive https://git.janouch.name/p/nncmpp.git
 | 
					 $ git clone --recursive https://git.janouch.name/p/nncmpp.git
 | 
				
			||||||
 $ mkdir nncmpp/build
 | 
					 $ mkdir nncmpp/build
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								nncmpp.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								nncmpp.c
									
									
									
									
									
								
							@@ -3789,9 +3789,15 @@ spectrum_redraw (void)
 | 
				
			|||||||
	// let's hack around it in this case
 | 
						// let's hack around it in this case
 | 
				
			||||||
	if (g.spectrum_row != -1)
 | 
						if (g.spectrum_row != -1)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							// Don't mess up the line editor caret, when it's shown
 | 
				
			||||||
 | 
							int last_x, last_y;
 | 
				
			||||||
 | 
							getyx (stdscr, last_y, last_x);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		attrset (APP_ATTR (TAB_BAR));
 | 
							attrset (APP_ATTR (TAB_BAR));
 | 
				
			||||||
		mvaddstr (g.spectrum_row, g.spectrum_column, g.spectrum.spectrum);
 | 
							mvaddstr (g.spectrum_row, g.spectrum_column, g.spectrum.spectrum);
 | 
				
			||||||
		attrset (0);
 | 
							attrset (0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							move (last_y, last_x);
 | 
				
			||||||
		refresh ();
 | 
							refresh ();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user