an experimental irc client

command: s/irc/quote

+3 -3
+3 -3
src/App.zig
··· 1223 1223 1224 1224 pub const Command = enum { 1225 1225 /// a raw irc command. Sent verbatim 1226 - irc, 1226 + quote, 1227 1227 join, 1228 1228 me, 1229 1229 msg, ··· 1235 1235 /// if we should append a space when completing 1236 1236 pub fn appendSpace(self: Command) bool { 1237 1237 return switch (self) { 1238 - .irc, 1238 + .quote, 1239 1239 .join, 1240 1240 .me, 1241 1241 .msg, ··· 1277 1277 .channel => |channel| channel, 1278 1278 }; 1279 1279 switch (command) { 1280 - .irc => { 1280 + .quote => { 1281 1281 const start = mem.indexOfScalar(u8, cmd, ' ') orelse return error.InvalidCommand; 1282 1282 const msg = try std.fmt.bufPrint( 1283 1283 &buf,