Compare commits
2 Commits
267598643a
...
9a67e076a9
Author | SHA1 | Date | |
---|---|---|---|
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
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user