summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.ha17
-rw-r--r--srtplay.1.scd21
2 files changed, 34 insertions, 4 deletions
diff --git a/main.ha b/main.ha
index 4e17452..4fd5ba5 100644
--- a/main.ha
+++ b/main.ha
@@ -1,5 +1,18 @@
-// SPDX-FileCopyrightText: Sam Nystrom <sam@samnystrom.dev>
-// SPDX-License-Identifier: GPL-3.0-only
+// srtplay - play .srt subtitle files in a TUI
+// Copyright (c) 2023 Sam Nystrom <sam@samnystrom.dev>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
use bufio;
use encoding::utf8;
diff --git a/srtplay.1.scd b/srtplay.1.scd
index c4038e9..d4740cc 100644
--- a/srtplay.1.scd
+++ b/srtplay.1.scd
@@ -16,15 +16,32 @@ elapsed time as well as the subtitles. The <b>, <i>, and <u> XML tags are
supported in the subtitles and will be displayed as bold, italic, and
underlined, respectively.
-# KEYBINDINGS
+# KEY BINDINGS
-The following keys will execute an action when pressed at any time.
+The following keys may be pressed at any time.
- *q*: exit the program
- *j*: fast-backward by 10 seconds
- *k*: pause or resume playback
- *l*: fast-forward by 10 seconds
+# COPYRIGHT
+
+Copyright (c) 2023 Sam Nystrom <sam@samnystrom.dev>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
# AUTHORS
Maintained by Sam Nystrom <sam@samnystrom.dev>. Source code is available at