about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-12-19 23:32:58 +0000
committerJames Booth <boothj5@gmail.com>2015-12-19 23:32:58 +0000
commit8f6b37f650aaf9c2f59cae401ee3ce9a063072cd (patch)
treefa679af60aa811b513f825e972aa114378d609f8 /src/command/command.c
parenta02c89a8e8f6abe8935f6cf95e0b016d1ac40a34 (diff)
downloadprofani-tty-8f6b37f650aaf9c2f59cae401ee3ce9a063072cd.tar.gz
Added /charset command
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 5745e5cb..72c0c42c 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -945,6 +945,18 @@ static struct cmd_t command_defs[] =
         CMD_NOEXAMPLES
     },
 
+    { "/charset",
+        cmd_charset, parse_args, 0, 0, NULL,
+        CMD_TAGS(
+            CMD_TAG_UI)
+        CMD_SYN(
+            "/beep")
+        CMD_DESC(
+            "Display information about the current character set supported by the terminal. ")
+        CMD_NOARGS
+        CMD_NOEXAMPLES
+    },
+
     { "/beep",
         cmd_beep, parse_args, 1, 1, &cons_beep_setting,
         CMD_TAGS(