mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[ncman] match rg/rs macros
This commit is contained in:
parent
1ef4d27960
commit
e061686eda
@ -106,7 +106,7 @@ broken by cluster breaks, terminated by the appropriate NUL terminator.
|
||||
Control characters are rejected, except for a newline when the output plane
|
||||
is in scrolling mode. A newline outside of scrolling mode will be rejected.
|
||||
|
||||
These functions output to the `ncplane`'s current cursor location. Aside from
|
||||
These functions output to the **ncplane**'s current cursor location. Aside from
|
||||
**ncplane_puttext()**, they *do not* move to the next line upon reaching the
|
||||
right extreme of the containing plane. If the entirety of the content cannot be
|
||||
output, they will output as much as possible.
|
||||
|
@ -636,6 +636,8 @@ putpara(struct ncplane* p, const char* text){
|
||||
} macros[] = {
|
||||
{ "aq]", "'", },
|
||||
{ "dq]", "\"", },
|
||||
{ "rg]", "®", },
|
||||
{ "rs]", "\\", },
|
||||
{ NULL, NULL, }
|
||||
};
|
||||
++curend;
|
||||
@ -915,6 +917,7 @@ manloop(struct notcurses* nc, const char* arg){
|
||||
ncplane_move_rel(page, 1, 0);
|
||||
}
|
||||
break;
|
||||
// we can move down iff our last line is beyond the visible area
|
||||
case 'j': case NCKEY_DOWN:
|
||||
if(ncplane_y(page) + ncplane_dim_y(page) > ncplane_dim_y(stdn)){
|
||||
ncplane_move_rel(page, -1, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user