Change song comment command to c

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 12 years ago
parent 150842c600
commit 4b29b513cc
  1. 2
      Changelog
  2. 1
      README
  3. 6
      src/commands.c
  4. 4
      src/info.c
  5. 2
      src/main.c
  6. 4
      src/xmp.1

@ -2,7 +2,7 @@ Stable versions
---------------
4.0.8 ():
- Add command M to display song message
- Add command c to display song comment
- Fix ignored amplify option (by Dennis Lindroos)
- Fix Win64 compatibility (by Ozkan Sezer)
- Fix screen corruption with large number of rows

@ -42,6 +42,7 @@ The following single key commands can be used during the playback:
i => display combined instrument/sample list
I => display instrument list
S => display sample list
c => display comment, if any
< => jump to previous sequence
> => jump to next sequence

@ -219,10 +219,14 @@ void read_command(xmp_context handle, struct xmp_module_info *mi, struct control
case 'i':
case 'I':
case 'S':
case 'M':
case 'm':
ctl->display = cmd;
break;
case 'c':
if (mi->comment != NULL) {
ctl->display = cmd;
}
break;
case '>':
change_sequence(handle, mi, ctl, 1);
break;

@ -30,11 +30,11 @@ void info_help(void)
" Z Display current sequence\n"
" z Toggle subsong explorer mode\n"
" l Toggle loop mode\n"
" M Display message (if any)\n"
" m Display module information\n"
" i Display combined instrument/sample list\n"
" I Display instrument list\n"
" S Display sample list\n"
" c Display comment, if any\n"
" < Play previous sequence\n"
" > Play next sequence\n"
);
@ -326,8 +326,6 @@ void info_comment(struct xmp_module_info *mi)
} while (*c++ != '\n');
}
report("\n\n");
} else {
report("<no message>\n\n");
}
}

@ -117,7 +117,7 @@ static void show_info(int what, struct xmp_module_info *mi)
case 'S':
info_samples(mi);
break;
case 'M':
case 'c':
info_comment(mi);
break;
case 'm':

@ -209,8 +209,6 @@ Display current sequence\&.
Toggle subsong explorer mode\&.
.IP "\fBl\fP"
Toggle module/sequence looping\&.
.IP "\fBM\fP"
Display message\&, if any\&.
.IP "\fBm\fP"
Display module information\&.
.IP "\fBi\fP"
@ -219,6 +217,8 @@ Display combined instrument/sample list\&.
Display instrument list\&.
.IP "\fBS\fP"
Display sample list\&.
.IP "\fBc\fP"
Display comment\&, if any\&.
.IP "\fB<\fP"
Change to previous sequence (subsong)\&.
.IP "\fB>\fP"

Loading…
Cancel
Save