
(Currently the only change I'm making is adding the bce capability, but that's because my Linux distro has a very up-to-date ncurses package.) This only addresses the first complication I described, not the second, but luckily none of the applications I rely on are using the "is it xterm?" hack for any functionality I care about. I solve the problem of missing features in my system's tmux-256color definition by building my own custom tmux-256color definition and installing it in my home directory. So that's another reason that setting TERM to xterm-* might cause the feature to start working inside of tmux. I'm referring to this as the "is it xterm?" hack. A subreddit to ask questions (and get answers) about Reddit Tech. The Text menu is also where you will find the Bold, Italic, Underline, Superscript and Subscript text effects, and their keyboard shortcuts. FYI, Reddit's mark-up language is called Markdown. Select the Text you want to strikethrough Open the Format tab Open the Text menu Select Strikethrough Selecting the command, you should see the cross-out text effect below.

You can't use any of the Reddit mark-up for formatting in titles: not italics, not bold, not strike-through, not hyperlinks. ( man terminfo doesn't list them, and infocmp xterm-256color doesn't show them unless you add the -x option to enable display of "user-defined capabilities" in the definition.)įor some of these non-standardized features, many applications don't even bother checking the terminfo, and instead they just check whether TERM starts with "xterm" to decide whether they can use the capability. It's also good to mention that it doesn't seem to work well in some devices (I'm seeing a rectangle). It looks like most terminal emulators are using capabilities called smxx/ rmxx for strikethrough now, but those capabilities aren't official in terminfo yet. The second additional complication is that xterm has several features that are not really standardized yet and don't have official terminfo capabilities to refer to them. But there are likely several other less-common features that are broken by doing that (but maybe you don't need any of those features, in which case it doesn't really matter). Sometimes, setting a TERM like xterm-* inside of tmux can actually make things work better because the xterm-* definition happens to include some of these features that the tmux definition is lacking. That happens because the terminfo definitions are part of the ncurses package, and in may systems there can be pretty large time difference between when the tmux and ncurses packages were built. The first additional complication is that the tmux terminfo definition frequently doesn't entirely match with what the installed tmux program actually supports. In practice, there are additional complications.
How to strikethrough text reddit how to#
tmux will then use the outside value of TERM to know how to communicate correctly with your terminal emulator. The reason tmux wants TERM set to either screen or tmux is because the purpose of TERM is to let programs know how to correctly communicate with tmux. Inside, it should be set to either screen or tmux (or a variant of those, like tmux-256color, if your machine has that). Outside, TERM should be set to whatever your terminal emulator wants (pretty much every terminal emulator will set it to an appropriate value automatically). You can read this tutorial on how to use them in Google Docs.It's important to note that TERM should usually have different values inside the tmux session versus outside the tmux session. One other useful formatting option you might want to try is the page break. The right click shortcut menu offers a nice selection of tools and options that might help you to locate the option that you need if you can’t find it in the toolbar or the navigational menu. One thing to try is selecting the content that you want to format, then right-clicking on it.

However, the interface is a little different, so some items are simply located in a different place. If you are familiar with Microsoft Word and have transitioned to the Google suite of productivity applications, then you will likely find that most of the various tools and settings with which you were familiar are also found in the Google alternative. You can also change fonts, font sizes, and font colors. The formatting options available in Google’s word processing application are mostly found either in the toolbar above the document, or by clicking the Format tab at the top of the window.Īside from the strikethrough option that we discuss in this article you can do things like bold text, italicize it, or underline it. Additionally you can also select strikethrough from the Format menu at the top of the screen.ĭoes your document need to be double spaced, and you can’t figure out how to get that formatting? Learn how to double space in Google Docs and adjust the spacing of your document to meet the requirements for your current task. You will need to highlight the text, then press Command + Shift + X on your keyboard. You can use strikethrough on a Mac, but the keyboard shortcut is different.
